From 11aa38baba49239506b28c05e44d40ff3ed40775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Thu, 22 Apr 2021 11:20:35 +0200 Subject: [PATCH] fbd-dev-sound: Use correct cleanup for hash table This went unnoticed since the manager forgot to cleanup this at all (see follow up commit). --- src/fbd-dev-sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fbd-dev-sound.c b/src/fbd-dev-sound.c index 74266ad..02c60b5 100644 --- a/src/fbd-dev-sound.c +++ b/src/fbd-dev-sound.c @@ -102,7 +102,7 @@ fbd_dev_sound_dispose (GObject *object) g_clear_object (&self->ctx); g_clear_object (&self->sound_settings); - g_clear_object (&self->playbacks); + g_clear_pointer (&self->playbacks, g_hash_table_unref); G_OBJECT_CLASS (fbd_dev_sound_parent_class)->dispose (object); }