summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-10 10:45:33 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-10 10:45:33 +0900
commit3b531d01bd7be7f0bbffab935dd88794933e0f6d (patch)
tree0332ebe1fe04346cb399e6de7d8d3bfd7c37fd7d
parent81d2dc268105c8c5e6779e9a4c88978628bedb7a (diff)
ecore-audio - remove the obj from the list before calling eo super destructor
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_pulse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
index af15cef90..2c3f2ffdb 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
@@ -282,9 +282,8 @@ static void _constructor(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list EINA_U
static void _destructor(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
- eo_do_super(eo_obj, MY_CLASS, eo_destructor());
-
class_vars.outputs = eina_list_remove(class_vars.outputs, eo_obj);
+ eo_do_super(eo_obj, MY_CLASS, eo_destructor());
}
static void _class_constructor(Eo_Class *klass)