rimage: free ELF program and section allocations
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
321aa0504d
commit
b424e981ec
|
@ -208,6 +208,9 @@ static int write_elf_data(struct image *image)
|
|||
goto out;
|
||||
}
|
||||
|
||||
free(image->prg);
|
||||
free(image->section);
|
||||
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue