From ff388f1d9b7eb55ea749d0de014932d9e8d87a05 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Fri, 11 Sep 2015 16:18:46 +0900 Subject: [PATCH] nlecomposition: don't leak internal hashtable https://bugzilla.gnome.org/show_bug.cgi?id=754867 --- plugins/nle/nlecomposition.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/nle/nlecomposition.c b/plugins/nle/nlecomposition.c index 7b69589bda..5bea068182 100644 --- a/plugins/nle/nlecomposition.c +++ b/plugins/nle/nlecomposition.c @@ -1002,6 +1002,10 @@ nle_composition_dispose (GObject * object) nle_composition_reset_target_pad (comp); + if (priv->pending_io) { + g_hash_table_unref (priv->pending_io); + } + G_OBJECT_CLASS (parent_class)->dispose (object); }