Re: [PATCH] hash: fix memory leak of hash_rcu_cfg

2022-11-14 Thread David Marchand
On Fri, Nov 4, 2022 at 10:52 AM Jun Qiu wrote: > > The memory of h->hash_rcu_cfg which is allocated in > rte_hash_rcu_qsbr_add was leaked. > > Fixes: 769b2de ("hash: implement RCU resources reclamation") Please, use 12 chars format for commit hash, as documented. git config alias.fixline "log -1

[PATCH] hash: fix memory leak of hash_rcu_cfg

2022-11-04 Thread Jun Qiu
The memory of h->hash_rcu_cfg which is allocated in rte_hash_rcu_qsbr_add was leaked. Fixes: 769b2de ("hash: implement RCU resources reclamation") Cc: sta...@dpdk.org Signed-off-by: Jun Qiu --- lib/hash/rte_cuckoo_hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hash/rte_cuckoo_ha

[PATCH] hash: fix memory leak of hash_rcu_cfg

2022-11-04 Thread Jun Qiu
The memory of h->hash_rcu_cfg which allocated in rte_hash_rcu_qsbr_add was leaked. Signed-off-by: Jun Qiu --- lib/hash/rte_cuckoo_hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c index 62c762439a..829b79c89a 100644 --- a/lib/hash/