nlecomposition: don't leak internal hashtable
authorJustin Kim <justin.kim@collabora.com>
Fri, 11 Sep 2015 07:18:46 +0000 (16:18 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 11 Sep 2015 11:09:40 +0000 (13:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=754867

plugins/nle/nlecomposition.c

index 7b69589..5bea068 100644 (file)
@@ -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);
 }