pitivi-formatter: don't leak internal hash table

https://bugzilla.gnome.org/show_bug.cgi?id=755505
This commit is contained in:
Justin Kim 2015-09-24 13:42:16 +09:00 committed by Thibault Saunier
parent 1131a22a74
commit 00ae999547

View file

@ -689,6 +689,7 @@ ges_pitivi_formatter_finalize (GObject * object)
if (priv->clips_table != NULL) { if (priv->clips_table != NULL) {
g_hash_table_foreach (priv->clips_table, g_hash_table_foreach (priv->clips_table,
(GHFunc) list_table_destroyer, NULL); (GHFunc) list_table_destroyer, NULL);
g_hash_table_destroy (priv->clips_table);
} }
if (priv->layers_table != NULL) if (priv->layers_table != NULL)