Fix: double free in liblttng-ust-dl
[deliverable/lttng-ust.git] / 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.023472 seconds and 5 git commands to generate.