eal: fix memory leak in stack dump
authorZhe Tao <zhe.tao@intel.com>
Mon, 21 Sep 2015 09:00:47 +0000 (17:00 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 25 Oct 2015 22:38:42 +0000 (23:38 +0100)
commitfaefe2296da86bb95ffbb5a8925b026dc006744c
tree816864dd7f00cc7467cb686b47a3ef268a8b175e
parentd1392d26f3e2f46cb723a1b8784dd13ae20e51b5
eal: fix memory leak in stack dump

Free the memory allocated by the backtrace_symbols
to prevent the memory leak.

Signed-off-by: Zhe Tao <zhe.tao@intel.com>
lib/librte_eal/bsdapp/eal/eal_debug.c
lib/librte_eal/linuxapp/eal/eal_debug.c