summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
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 /src/lib/ecore_audio
parent81d2dc268105c8c5e6779e9a4c88978628bedb7a (diff)
ecore-audio - remove the obj from the list before calling eo super destructor
Diffstat (limited to 'src/lib/ecore_audio')
-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 af15cef902..2c3f2ffdbc 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
282 282
283static void _destructor(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED) 283static void _destructor(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
284{ 284{
285 eo_do_super(eo_obj, MY_CLASS, eo_destructor());
286
287 class_vars.outputs = eina_list_remove(class_vars.outputs, eo_obj); 285 class_vars.outputs = eina_list_remove(class_vars.outputs, eo_obj);
286 eo_do_super(eo_obj, MY_CLASS, eo_destructor());
288} 287}
289 288
290static void _class_constructor(Eo_Class *klass) 289static void _class_constructor(Eo_Class *klass)