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