From: Mathieu Desnoyers Date: Tue, 20 Mar 2012 17:15:01 +0000 (-0400) Subject: Fix kernel_list_events memleaks X-Git-Tag: v2.0.0-rc4~13^2~1 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=3b870559a62e8f74a8793a6a23b9445346fe9fdf;hp=3b870559a62e8f74a8793a6a23b9445346fe9fdf;p=lttng-tools.git Fix kernel_list_events memleaks - The fscanf %m allocation was leaking the "event" (needs to be freed explicitly). - The error handling of realloc should free the previous pointer. Acked-by: David Goulet Signed-off-by: Mathieu Desnoyers ---