Browse Source

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

master
Thomas Schmitt 10 years ago
parent
commit
5ab4f14c04
  1. 3
      libisoburn/isofs_wrap.c
  2. 2
      xorriso/xorriso_timestamp.h

3
libisoburn/isofs_wrap.c

@ -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);
}

2
xorriso/xorriso_timestamp.h

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

Loading…
Cancel
Save