1
0
Fork 0
forked from len0rd/rockbox

imxtools/sbtools: various fixes

Change bug() macro, fix memory leaks, always use -h for help, fix usage(),
fix comment, remove useless macro

Change-Id: I30554b5e07e6f2845560a570808603cf8c4da5ad
This commit is contained in:
Amaury Pouly 2017-01-01 19:46:01 +01:00
parent 2b20026dd7
commit 5ff3a3a98f
6 changed files with 39 additions and 24 deletions

View file

@ -333,6 +333,7 @@ void elf_simplify(struct elf_params_t *params)
{
cur_sec->size += sections[i].size;
sections[i].size = 0; // will be ignored by rebuilding (see below)
free(sections[i].name);
}
else if(sections[i].type == EST_LOAD)
{