Closed a memory leak about RRIP CL following

This commit is contained in:
Thomas Schmitt 2017-08-21 19:43:19 +02:00
parent 78b0a7b111
commit e599a575dc
1 changed files with 2 additions and 0 deletions

View File

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