hermet pushed a commit to branch master.

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

commit bca18f5f93458c20715a2b23012380a0371505fa
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Mon Sep 21 21:00:16 2015 +0900

    ecore_x: fix the memory leak.
    
    @fix
---
 src/lib/ecore_x/xlib/ecore_x_fixes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_x/xlib/ecore_x_fixes.c 
b/src/lib/ecore_x/xlib/ecore_x_fixes.c
index c0e8849..2c130b6 100644
--- a/src/lib/ecore_x/xlib/ecore_x_fixes.c
+++ b/src/lib/ecore_x/xlib/ecore_x_fixes.c
@@ -309,6 +309,7 @@ ecore_x_region_fetch(Ecore_X_Region region,
    (*bounds).y = xbound.y;
    (*bounds).width = xbound.width;
    (*bounds).height = xbound.height;
+   XFree(xrect);
    return rects;
 #else /* ifdef ECORE_XFIXES */
    return NULL;

-- 


Reply via email to