Closed a memory leak introduced with rev 1133
This commit is contained in:
parent
d93be961e1
commit
9e5158f59e
@ -1232,6 +1232,8 @@ int iso_tree_get_node_of_block(IsoImage *image, IsoDir *dir, uint32_t block,
|
|||||||
ex:
|
ex:
|
||||||
if (sections != NULL)
|
if (sections != NULL)
|
||||||
free(sections);
|
free(sections);
|
||||||
|
if (iter != NULL);
|
||||||
|
iso_dir_iter_free(iter);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user