Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
char resolved_path[PATH_MAX];
struct lttng_ust_elf *elf;
uint64_t memsz;
char resolved_path[PATH_MAX];
struct lttng_ust_elf *elf;
uint64_t memsz;
+ uint8_t *build_id = NULL;
uint32_t crc;
int has_build_id = 0, has_debug_link = 0;
int ret;
uint32_t crc;
int has_build_id = 0, has_debug_link = 0;
int ret;
+ free(dbg_file);
+ free(build_id);
lttng_ust_elf_destroy(elf);
return;
}
lttng_ust_elf_destroy(elf);
return;
}
*found = _found;
return 0;
error:
*found = _found;
return 0;
error:
- if (section_name) {
- free(section_name);
- }
-
+ free(_filename);
+ free(section_name);