Browse Source

Closed a memory leak about RRIP CL following

release-1.5.4.branch
Thomas Schmitt 4 years ago
parent
commit
e599a575dc
  1. 2
      libisofs/fs_image.c

2
libisofs/fs_image.c

@ -2006,6 +2006,8 @@ if (name != NULL && !namecont) {
/* but the real name is the name of the placeholder */
ifsdata = (ImageFileSourceData*) (*src)->data;
if (ifsdata->name != NULL)
free(ifsdata->name);
ifsdata->name = name;
{ret = ISO_SUCCESS; goto ex;}

Loading…
Cancel
Save