From: Antoine Busque Date: Tue, 8 Sep 2015 21:24:16 +0000 (-0400) Subject: Fix: double free in liblttng-ust-dl X-Git-Tag: v2.8.0-rc1~81 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=edcfc2e58a187fb89127e7814b0b319aa0b44580;p=lttng-ust.git Fix: double free in liblttng-ust-dl Signed-off-by: Antoine Busque Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-dl/lttng-ust-dl.c b/liblttng-ust-dl/lttng-ust-dl.c index d6abeff0..954d9dfc 100644 --- a/liblttng-ust-dl/lttng-ust-dl.c +++ b/liblttng-ust-dl/lttng-ust-dl.c @@ -109,13 +109,11 @@ void lttng_ust_dl_dlopen(void *so_base, const char *so_name, void *ip) if (has_build_id) { tracepoint(lttng_ust_dl, build_id, ip, so_base, build_id, build_id_len); - free(build_id); } if (has_debug_link) { tracepoint(lttng_ust_dl, debug_link, ip, so_base, dbg_file, crc); - free(dbg_file); } end: