[dpdk-dev] [PATCH] eal: change to prevent memory leak in eal debug

2015-10-25 Thread Thomas Monjalon
2015-09-21 17:00, Zhe Tao: > Free the memory allocated by the backtrace_symbols > to prevent the memory leak > > Signed-off-by: Zhe Tao Applied, with reverted comparisons: WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test + if (NULL == symb

[dpdk-dev] [PATCH] eal: change to prevent memory leak in eal debug

2015-09-21 Thread Zhe Tao
Free the memory allocated by the backtrace_symbols to prevent the memory leak Signed-off-by: Zhe Tao --- lib/librte_eal/bsdapp/eal/eal_debug.c | 6 ++ lib/librte_eal/linuxapp/eal/eal_debug.c | 6 ++ 2 files changed, 12 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/eal_debug.c