RE: [PATCH v3 03/15] hash: add allocation function attributes

2025-01-24 Thread Konstantin Ananyev
> Use function attributes to catch cases where hash table is allocated > but not freed correctly. > > Signed-off-by: Stephen Hemminger > --- > lib/hash/rte_fbk_hash.h | 24 +--- > lib/hash/rte_hash.h | 21 +++-- > 2 files changed, 24 insertions(+), 21 d

[PATCH v3 03/15] hash: add allocation function attributes

2025-01-23 Thread Stephen Hemminger
Use function attributes to catch cases where hash table is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/hash/rte_fbk_hash.h | 24 +--- lib/hash/rte_hash.h | 21 +++-- 2 files changed, 24 insertions(+), 21 deletions(-) diff -