cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=48920920a581a14da7f093748540f608a70e0513

commit 48920920a581a14da7f093748540f608a70e0513
Author: kabeer khan <kabeer.k...@samsung.com>
Date:   Mon Dec 22 12:06:06 2014 +0100

    evas: fix memory leak in evas_swapper.
    
    Summary: Signed-off-by: kabeer khan <kabeer.k...@samsung.com>
    
    @fix
    
    Reviewers: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1800
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/modules/evas/engines/wayland_shm/evas_swapper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/evas/engines/wayland_shm/evas_swapper.c 
b/src/modules/evas/engines/wayland_shm/evas_swapper.c
index 83bf677..3b4d8f0 100644
--- a/src/modules/evas/engines/wayland_shm/evas_swapper.c
+++ b/src/modules/evas/engines/wayland_shm/evas_swapper.c
@@ -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;
      }
 

-- 


Reply via email to