diff --git a/libisofs/tree.c b/libisofs/tree.c index cf0a1e3..dfdacd0 100644 --- a/libisofs/tree.c +++ b/libisofs/tree.c @@ -1232,7 +1232,7 @@ int iso_tree_get_node_of_block(IsoImage *image, IsoDir *dir, uint32_t block, ex: if (sections != NULL) free(sections); - if (iter != NULL); + if (iter != NULL) iso_dir_iter_free(iter); return ret; }