Fix: double free in liblttng-ust-dl
authorAntoine Busque <abusque@efficios.com>
Tue, 8 Sep 2015 21:24:16 +0000 (17:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Sep 2015 22:27:19 +0000 (18:27 -0400)
Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-dl/lttng-ust-dl.c

index d6abeff0820e024d1a6512213df5c8ec6a5e539f..954d9dfcb7381025e82054b110a525ae5855e717 100644 (file)
@@ -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:
This page took 0.025242 seconds and 5 git commands to generate.