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
+1
View File
@@ -1399,6 +1399,7 @@ gcal_window_finalize (GObject *object)
priv = gcal_window_get_instance_private (GCAL_WINDOW (object));
g_free (priv->active_date);
g_free (priv->current_date);
if (priv->views_switcher != NULL)
g_object_unref (priv->views_switcher);