From efa7b7fab35461f88b642884b40d77a1468093bc Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 13 Nov 2014 01:13:39 +0100 Subject: [PATCH] Remove double free for some GsweMoment internal lists --- src/gswe-moment.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/gswe-moment.c b/src/gswe-moment.c index 1027c4b..f151054 100644 --- a/src/gswe-moment.c +++ b/src/gswe-moment.c @@ -309,23 +309,6 @@ gswe_moment_finalize(GObject *gobject) { GsweMoment *moment = GSWE_MOMENT(gobject); - g_list_free_full( - moment->priv->house_list, - (GDestroyNotify)gswe_house_data_unref - ); - g_list_free_full( - moment->priv->planet_list, - (GDestroyNotify)gswe_planet_data_unref - ); - g_list_free_full( - moment->priv->aspect_list, - (GDestroyNotify)gswe_aspect_data_unref - ); - g_list_free_full( - moment->priv->antiscia_list, - (GDestroyNotify)gswe_antiscion_data_unref - ); - g_clear_object(&moment->priv->timestamp); g_list_free_full(