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 21:00:16 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-09-21 21:00:16 +0900
commitbca18f5f93458c20715a2b23012380a0371505fa (patch)
treec6f18fb40c433d96f9cc06f280e16c3fd5403590 /src/lib/ecore_x/xlib/ecore_x_fixes.c
parentRevert "ecore_x: remove dead code." (diff)
downloadefl-bca18f5f93458c20715a2b23012380a0371505fa.tar.gz
ecore_x: fix the memory leak.
@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 c0e8849abd..2c130b69e6 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;