cnp: Fix memory leak issue.
Summary: Call efreet_uri_free() API to free Efreet_Uri structure. Test Plan: None. Reviewers: raster, cedric, woohyun, Hermet, thiepha, JackDanielZ Subscribers: JackDanielZ Differential Revision: https://phab.enlightenment.org/D2655
This commit is contained in:
parent
d103e00145
commit
d04e6c7d6a
|
@ -1061,6 +1061,7 @@ _x11_data_preparer_uri(Ecore_X_Event_Selection_Notify *notify,
|
|||
{
|
||||
free(p);
|
||||
stripstr = (char *)eina_memdup((unsigned char *)uri->path, strlen(uri->path), EINA_TRUE);
|
||||
efreet_uri_free(uri);
|
||||
if (!stripstr) return EINA_FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue