ret = populate_section_header(elf, section_header, index);
if (ret) {
- ret = LTTNG_ERR_ELF_PARSING;
DBG("Error populating section header.");
goto error;
}
*/
if (curr_semaphore_location != 0) {
ret = LTTNG_ERR_SDT_PROBE_SEMAPHORE;
- goto end;
+ goto realloc_error;
}
new_size = (++nb_match) * sizeof(uint64_t);