Closed a memory leak introduced with rev 1133

This commit is contained in:
Thomas Schmitt 2014-04-14 16:06:32 +02:00
parent d93be961e1
commit 9e5158f59e
1 changed files with 2 additions and 0 deletions

View File

@ -1232,6 +1232,8 @@ int iso_tree_get_node_of_block(IsoImage *image, IsoDir *dir, uint32_t block,
ex:
if (sections != NULL)
free(sections);
if (iter != NULL);
iso_dir_iter_free(iter);
return ret;
}