diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-10 10:45:33 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-11-10 10:45:33 +0900 |
commit | 3b531d01bd7be7f0bbffab935dd88794933e0f6d (patch) | |
tree | 0332ebe1fe04346cb399e6de7d8d3bfd7c37fd7d /src/lib/ecore_audio | |
parent | 81d2dc268105c8c5e6779e9a4c88978628bedb7a (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.c | 3 |
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 | ||
283 | static void _destructor(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED) | 283 | static 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 | ||
290 | static void _class_constructor(Eo_Class *klass) | 289 | static void _class_constructor(Eo_Class *klass) |