From 0ebb887d647c47ba8164e103b587a45c466325e8 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 21 Feb 2013 11:28:15 +0000 Subject: [PATCH] set comp win e object ref to null during its delfn if this function is called, the object is in the process of being deleted and its refcount is already 0. trying to access it later will guarantee a crash, so ignore whever refs we may have on it SVN revision: 84278 --- src/bin/e_comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 603936504..5365ade58 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1505,6 +1505,7 @@ _e_comp_object_del(void *data, void *obj) e_object_delfn_del(obj, cw->dfn); cw->dfn = NULL; } + cw->eobj = NULL; e_comp_win_del(cw); }