X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.c;h=807d785cedca27e5b4058193e203bf410a87a349;hb=991662c82722685383c194b968e880f84e0d2343;hp=6523579fbec8582b768cc501972828c496347054;hpb=be7cb59d8b60a2b9172b37ed0ece3f6f7920ed5d;p=lttng-tools.git diff --git a/src/common/lttng-elf.c b/src/common/lttng-elf.c index 6523579fb..807d785ce 100644 --- a/src/common/lttng-elf.c +++ b/src/common/lttng-elf.c @@ -826,7 +826,7 @@ int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset) if (symtab_hdr.sh_entsize == 0) { DBG("Invalid ELF string table entry size."); ret = LTTNG_ERR_ELF_PARSING; - goto free_symbol_table_data; + goto free_string_table_data; } sym_count = symtab_hdr.sh_size / symtab_hdr.sh_entsize;