From edcfc2e58a187fb89127e7814b0b319aa0b44580 Mon Sep 17 00:00:00 2001 From: Antoine Busque Date: Tue, 8 Sep 2015 17:24:16 -0400 Subject: [PATCH] Fix: double free in liblttng-ust-dl Signed-off-by: Antoine Busque Signed-off-by: Mathieu Desnoyers --- liblttng-ust-dl/lttng-ust-dl.c | 2 -- 1 file changed, 2 deletions(-) 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: -- 2.34.1