evas: fix memory leak in evas_swapper.

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

@fix

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1800

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
kabeer khan 2014-12-22 12:06:06 +01:00 committed by Cedric BAIL
parent d25d56758c
commit 48920920a5
1 changed files with 1 additions and 0 deletions

View File

@ -331,6 +331,7 @@ _evas_swapper_shm_pool_new(Wl_Swapper *ws)
if ((fd = mkstemp(name)) < 0)
{
ERR("Could not create temporary file.");
free(name);
return EINA_FALSE;
}