Fixed a small memory leak in case of failed ISO image reading

master
Thomas Schmitt 11 years ago
parent c720203420
commit 5ab4f14c04

@ -317,13 +317,14 @@ displacement_rollover:;
read_opts->hasIso1999 = iso_read_image_features_has_iso1999(features);
read_opts->hasElTorito = iso_read_image_features_has_eltorito(features);
read_opts->size = iso_read_image_features_get_size(features);
iso_read_image_features_destroy(features);
ret= 1;
ex:;
if(msg != NULL)
free(msg);
if(ropts != NULL)
iso_read_opts_free(ropts);
if(features != NULL)
iso_read_image_features_destroy(features);
return(ret);
}

@ -1 +1 @@
#define Xorriso_timestamP "2012.04.11.163237"
#define Xorriso_timestamP "2012.04.19.073152"

Loading…
Cancel
Save