application: Free icaltimetype with g_free

g_date_time_unref is reserved to GDateTime pointers.
This commit is contained in:
Georges Basile Stavracas Neto
2018-07-31 12:35:56 -03:00
parent f17c7b91b8
commit af095fce48
+1 -1
View File
@@ -732,7 +732,7 @@ gcal_application_set_initial_date (GcalApplication *self,
{
g_return_if_fail (GCAL_IS_APPLICATION (self));
g_clear_pointer (&self->initial_date, g_date_time_unref);
g_clear_pointer (&self->initial_date, g_free);
self->initial_date = datetime_to_icaltime (initial_date);
}