Closed a memory leak about RRIP CL following
This commit is contained in:
parent
78b0a7b111
commit
e599a575dc
@ -2006,6 +2006,8 @@ if (name != NULL && !namecont) {
|
|||||||
|
|
||||||
/* but the real name is the name of the placeholder */
|
/* but the real name is the name of the placeholder */
|
||||||
ifsdata = (ImageFileSourceData*) (*src)->data;
|
ifsdata = (ImageFileSourceData*) (*src)->data;
|
||||||
|
if (ifsdata->name != NULL)
|
||||||
|
free(ifsdata->name);
|
||||||
ifsdata->name = name;
|
ifsdata->name = name;
|
||||||
|
|
||||||
{ret = ISO_SUCCESS; goto ex;}
|
{ret = ISO_SUCCESS; goto ex;}
|
||||||
|
Loading…
Reference in New Issue
Block a user