discomfitor pushed a commit to branch master.
commit ad7933670f6d781839a92405bb1d8f8c050f5d73
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Jul 17 12:18:57 2013 +0100
ecore_x_pixmap_free no longer fails when passed 0
---
src/lib/ecore_x/xlib/ecore_x_pixmap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/ecore_x/xlib/ecore_x_pixmap.c
b/src/lib/ecore_x/xlib/ecore_x_pixmap.c
index 3b4ff63..72fd796 100644
--- a/src/lib/ecore_x/xlib/ecore_x_pixmap.c
+++ b/src/lib/ecore_x/xlib/ecore_x_pixmap.c
@@ -54,6 +54,7 @@ EAPI void
ecore_x_pixmap_free(Ecore_X_Pixmap pmap)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
+ if (!pmap) return;
XFreePixmap(_ecore_x_disp, pmap);
}
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk