Two more Coverty static analysis issues addressed by Honza Horak.
This commit is contained in:
@@ -799,6 +799,7 @@ _iso9660_dir_to_statbuf (iso9660_dir_t *p_iso9660_dir, bool_3way_t b_xa,
|
||||
free(p_psz_out);
|
||||
}
|
||||
else {
|
||||
free(p_stat);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -212,7 +212,6 @@ print_iso9660_recurse (iso9660_t *p_iso, const char psz_path[])
|
||||
free(translated_name);
|
||||
free(dirlist);
|
||||
report( stderr, "Error getting above directory information\n" );
|
||||
free(translated_name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user