ecore_x: free the allocated memory after used.

XFixesInvertRegion doesn't free the xbound argument inside.

@fix
This commit is contained in:
ChunEon Park 2015-09-21 19:49:10 +09:00
parent 64bc179f63
commit c5671efadb
1 changed files with 1 additions and 0 deletions

View File

@ -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 */
}