misc: fix various memory leaks

This commit is contained in:
Erick Pérez Castellanos
2015-02-16 09:31:20 -05:00
parent 44411f233a
commit 8fadbaa760
4 changed files with 12 additions and 1 deletions
+3
View File
@@ -594,6 +594,9 @@ gcal_search_view_finalize (GObject *object)
if (priv->date != NULL)
g_free (priv->date);
g_hash_table_destroy (priv->events);
g_hash_table_destroy (priv->row_to_event);
/* Chain up to parent's finalize() method. */
G_OBJECT_CLASS (gcal_search_view_parent_class)->finalize (object);
}