mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-25 05:53:06 +03:00
Loader: Fix BusFault in handling of OOM ofw PR 3992
by Willy-JL
This commit is contained in:
parent
462ab255a1
commit
3d74f4e1dc
@ -834,7 +834,9 @@ void elf_file_free(ELFFile* elf) {
|
||||
aligned_free(itref->value.data);
|
||||
}
|
||||
if(itref->value.fast_rel) {
|
||||
if(itref->value.fast_rel->data) {
|
||||
aligned_free(itref->value.fast_rel->data);
|
||||
}
|
||||
free(itref->value.fast_rel);
|
||||
}
|
||||
free((void*)itref->key);
|
||||
|
Loading…
Reference in New Issue
Block a user