X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.c;h=08eb5a64cc8fbfb5818682c9e48babc93bac4af6;hb=04689d6374bfe2e94aa6994fc85fd05b6afab7b8;hp=7369f29c517cd9489d78ab2bfc9bd7756c0f90f9;hpb=bd5637954920c9b2c48600638f966247a2f5d4ef;p=lttng-tools.git diff --git a/src/common/lttng-elf.c b/src/common/lttng-elf.c index 7369f29c5..08eb5a64c 100644 --- a/src/common/lttng-elf.c +++ b/src/common/lttng-elf.c @@ -817,7 +817,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;