aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-05-19 00:58:03 +0900
committerMike Blumenkrantz <zmike@samsung.com>2018-08-02 10:01:10 -0400
commit57b2988e7a0fd82993a35ce023aa00b13940206f (patch)
treec7789a4ef35de16ac62bb394de0f0d2591453fff
parentemxier desktop - fix categories to match well known cat names (diff)
downloadenlightenment-57b2988e7a0fd82993a35ce023aa00b13940206f.tar.gz
mixer - fix exe handler del and handle to stop crashes after mixer run
running emixer from the mixer module popup was resulting in crashes. it was this exe event handler handle and leaving a dangling garbage ptr after it was deleted. @fix
-rw-r--r--src/modules/mixer/e_mod_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c
index d2ae88b3a..fe8988c8a 100644
--- a/src/modules/mixer/e_mod_main.c
+++ b/src/modules/mixer/e_mod_main.c
@@ -432,8 +432,10 @@ _emixer_del_cb(void *data EINA_UNUSED, int type EINA_UNUSED,
{
mixer_context->emixer = NULL;
if (mixer_context->emix_event_handler)
- ecore_event_handler_del(mixer_context->emix_event_handler);
-
+ {
+ ecore_event_handler_del(mixer_context->emix_event_handler);
+ mixer_context->emix_event_handler = NULL;
+ }
return EINA_TRUE;
}