Two more Coverty static analysis issues addressed by Honza Horak.

This commit is contained in:
R. Bernstein
2011-05-31 14:30:26 -04:00
parent 940b7cd848
commit 2a0747b6e2
2 changed files with 1 additions and 1 deletions

View File

@@ -799,6 +799,7 @@ _iso9660_dir_to_statbuf (iso9660_dir_t *p_iso9660_dir, bool_3way_t b_xa,
free(p_psz_out); free(p_psz_out);
} }
else { else {
free(p_stat);
return NULL; return NULL;
} }
} }

View File

@@ -212,7 +212,6 @@ print_iso9660_recurse (iso9660_t *p_iso, const char psz_path[])
free(translated_name); free(translated_name);
free(dirlist); free(dirlist);
report( stderr, "Error getting above directory information\n" ); report( stderr, "Error getting above directory information\n" );
free(translated_name);
return; return;
} }