diff options
Diffstat (limited to 'src/gc_sound/src/gc-sound-mixer-SDL.c')
-rw-r--r-- | src/gc_sound/src/gc-sound-mixer-SDL.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gc_sound/src/gc-sound-mixer-SDL.c b/src/gc_sound/src/gc-sound-mixer-SDL.c index 3092d0f..6c06c06 100644 --- a/src/gc_sound/src/gc-sound-mixer-SDL.c +++ b/src/gc_sound/src/gc-sound-mixer-SDL.c @@ -401,7 +401,8 @@ gc_sound_mixer_sdl_destroy (GcSoundObject *object) { g_signal_handlers_disconnect_by_func(GC_SOUND_OBJECT(g_ptr_array_index(self->channels,i)), channel_destroyed, self); gc_sound_object_destroy (GC_SOUND_OBJECT(g_ptr_array_index(self->channels,i))); - g_object_unref(G_OBJECT(g_ptr_array_index(self->channels,i))); + // will be unref on signal receipt + //g_object_unref(G_OBJECT(g_ptr_array_index(self->channels,i))); } running_mixer = NULL; |