Remove double free for some GsweMoment internal lists
This commit is contained in:
parent
bf5a839511
commit
efa7b7fab3
@ -309,23 +309,6 @@ gswe_moment_finalize(GObject *gobject)
|
|||||||
{
|
{
|
||||||
GsweMoment *moment = GSWE_MOMENT(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_clear_object(&moment->priv->timestamp);
|
||||||
|
|
||||||
g_list_free_full(
|
g_list_free_full(
|
||||||
|
Loading…
Reference in New Issue
Block a user