aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-02-21 11:28:15 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-02-21 11:28:15 +0000
commit0ebb887d647c47ba8164e103b587a45c466325e8 (patch)
treeff59f3731ea5323fc8bc21abd2c8d7e693331bdd
parent0578ff6754eae5c0c7238b0fff24e945ed2e8a4e (diff)
downloadenlightenment-0ebb887d647c47ba8164e103b587a45c466325e8.tar.gz
enlightenment-0ebb887d647c47ba8164e103b587a45c466325e8.tar.xz
enlightenment-0ebb887d647c47ba8164e103b587a45c466325e8.zip
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
-rw-r--r--src/bin/e_comp.c1
1 files changed, 1 insertions, 0 deletions
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);
}