aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2013-02-21 04:01:36 +0000
committerCarsten Haitzler <raster@rasterman.com>2013-02-21 04:01:36 +0000
commit0578ff6754eae5c0c7238b0fff24e945ed2e8a4e (patch)
tree994edaed98150bbd5a8897c90011684f33583360
parent0e6a47a90afbc5a58675683459977a380caabb77 (diff)
downloadenlightenment-0578ff6754eae5c0c7238b0fff24e945ed2e8a4e.tar.gz
enlightenment-0578ff6754eae5c0c7238b0fff24e945ed2e8a4e.tar.xz
enlightenment-0578ff6754eae5c0c7238b0fff24e945ed2e8a4e.zip
more valgrind stuff... null deref?
SVN revision: 84273
-rw-r--r--src/bin/e_gadcon_popup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_gadcon_popup.c b/src/bin/e_gadcon_popup.c
index bbe7be3c4..b182e99cb 100644
--- a/src/bin/e_gadcon_popup.c
+++ b/src/bin/e_gadcon_popup.c
@@ -8,6 +8,7 @@ _e_popup_autoclose_deskafter_show_cb(void *data EINA_UNUSED, int type EINA_UNUSE
E_Event_Desk_After_Show *ev = event;
E_Gadcon_Popup *pop = data;
+ if (!pop) return ECORE_CALLBACK_RENEW;
if (!pop->win->visible) return ECORE_CALLBACK_RENEW;
if (!e_gadcon_client_visible_get(pop->gcc, ev->desk))
e_object_del(E_OBJECT(pop));
@@ -21,6 +22,7 @@ _e_popup_autoclose_border_fullscreen_cb(void *data, int type EINA_UNUSED, void *
E_Event_Border_Fullscreen *ev = event;
E_Gadcon_Popup *pop = data;
+ if (!pop) return ECORE_CALLBACK_RENEW;
if (!pop->win->visible) return ECORE_CALLBACK_RENEW;
if (!ev->border->fullscreen) return ECORE_CALLBACK_RENEW;
if (e_gadcon_client_visible_get(pop->gcc, ev->border->desk))