X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.c;h=62d8d92468921858aa752b6da1b1f051bcf20fd8;hb=09f3038c7ceb232e9eedf4e3542bb1084bae3d85;hp=5d3aaad04bf098a5fc60f1407c5a2bad8f6e547d;hpb=47e52862a8330d41800736a69de93cec9287cc9d;p=lttng-tools.git diff --git a/src/common/lttng-elf.c b/src/common/lttng-elf.c index 5d3aaad04..62d8d9246 100644 --- a/src/common/lttng-elf.c +++ b/src/common/lttng-elf.c @@ -994,7 +994,7 @@ int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name, */ if (curr_semaphore_location != 0) { ret = LTTNG_ERR_SDT_PROBE_SEMAPHORE; - goto end; + goto realloc_error; } new_size = (++nb_match) * sizeof(uint64_t);