Reacted on warnings of cppcheck.

This commit is contained in:
2012-03-21 20:28:15 +01:00
parent a2fe1a4100
commit 1247edff95
2 changed files with 5 additions and 2 deletions

View File

@@ -2417,8 +2417,10 @@ int iso_image_create_burn_source(IsoImage *image, IsoWriteOpts *opts,
if (!opts->allow_deep_paths) {
ret = make_reloc_dir_if_needed(image, opts, 0);
if (ret < 0)
if (ret < 0) {
free(source);
return ret;
}
}
#endif /* Libisofs_with_rr_reloc_diR */