Spring cleaning

This commit is contained in:
Willy-JL
2025-04-04 13:18:36 +01:00
parent 32ad9ea25b
commit 81581c79b5
17 changed files with 39 additions and 138 deletions

View File

@@ -832,9 +832,7 @@ void elf_file_free(ELFFile* elf) {
const ELFSectionDict_itref_t* itref = ELFSectionDict_cref(it);
aligned_free(itref->value.data);
if(itref->value.fast_rel) {
if(itref->value.fast_rel->data) {
aligned_free(itref->value.fast_rel->data);
}
aligned_free(itref->value.fast_rel->data);
free(itref->value.fast_rel);
}
free((void*)itref->key);