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

View File

@ -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;
} }