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:
Youngbok Shin 2015-06-15 08:05:02 +03:00 committed by Daniel Zaoui
parent d103e00145
commit d04e6c7d6a
1 changed files with 1 additions and 0 deletions

View File

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