hermet pushed a commit to branch master.

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

commit c5671efadbc5e1416e8a36ce167d5832ba809ddf
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Mon Sep 21 19:49:10 2015 +0900

    ecore_x: free the allocated memory after used.
    
    XFixesInvertRegion doesn't free the xbound argument inside.
    
    @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 0e7aa1f..c0e8849 100644
--- a/src/lib/ecore_x/xlib/ecore_x_fixes.c
+++ b/src/lib/ecore_x/xlib/ecore_x_fixes.c
@@ -266,6 +266,7 @@ ecore_x_region_invert(Ecore_X_Region dest,
 
    XFixesInvertRegion(_ecore_x_disp, dest, xbound, source);
    if (_ecore_xlib_sync) ecore_x_sync();
+   free(xbound);
 #endif /* ifdef ECORE_XFIXES */
 }
 

-- 


Reply via email to