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
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
2 matches
Mail list logo