aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_x/xlib/ecore_x_fixes.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-09-21 19:49:10 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-09-21 19:49:10 +0900
commitc5671efadbc5e1416e8a36ce167d5832ba809ddf (patch)
treedd90e176e6a8c5f32f5ce908ba0527eb90c94f9b /src/lib/ecore_x/xlib/ecore_x_fixes.c
parentecore_con: remove dead code. (diff)
downloadefl-c5671efadbc5e1416e8a36ce167d5832ba809ddf.tar.gz
ecore_x: free the allocated memory after used.
XFixesInvertRegion doesn't free the xbound argument inside. @fix
Diffstat (limited to 'src/lib/ecore_x/xlib/ecore_x_fixes.c')
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_fixes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_fixes.c b/src/lib/ecore_x/xlib/ecore_x_fixes.c
index 0e7aa1f1a7..c0e8849abd 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 */
}