[dpdk-dev] [PATCH] array malloced by backtrace_symbols() should be freed by the caller

2015-08-04 Thread chixiaobo
As to linux man page: http://linux.die.net/man/3/backtrace_symbols, The address of the array of string pointers is returned as the function result of backtrace_symbols(). This array is malloced by backtrace_symbols(), and must be freed by the caller. The strings pointed to by the array of point

[dpdk-dev] [PATCH] array malloced by backtrace_symbols() should be freed by the caller

2015-08-04 Thread Stephen Hemminger
On Tue, 4 Aug 2015 17:04:18 +0800 chixiaobo wrote: > diff --git a/lib/librte_eal/linuxapp/eal/eal_debug.c > b/lib/librte_eal/linuxapp/eal/eal_debug.c > index 44fc4f3..ceca2e8 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_debug.c > +++ b/lib/librte_eal/linuxapp/eal/eal_debug.c > @@ -58,6 +58,9