pitivi-formatter: don't leak internal hash table
authorJustin Kim <justin.kim@collabora.com>
Thu, 24 Sep 2015 04:42:16 +0000 (13:42 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 24 Sep 2015 07:42:08 +0000 (09:42 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=755505

ges/ges-pitivi-formatter.c

index 58716d0..8e7b5d3 100644 (file)
@@ -689,6 +689,7 @@ ges_pitivi_formatter_finalize (GObject * object)
   if (priv->clips_table != NULL) {
     g_hash_table_foreach (priv->clips_table,
         (GHFunc) list_table_destroyer, NULL);
+    g_hash_table_destroy (priv->clips_table);
   }
 
   if (priv->layers_table != NULL)