event: Fix a minor leak

This commit is contained in:
Michael Catanzaro
2017-12-05 13:36:29 -06:00
parent 91beda2687
commit 2cca96c349
+1 -1
View File
@@ -1505,7 +1505,7 @@ gcal_event_set_timezone (GcalEvent *self,
new_dtend = g_date_time_to_timezone (self->dt_end, timezone);
gcal_event_set_date_end (self, new_dtend);
g_clear_pointer (&new_dtstart, g_date_time_unref);
g_clear_pointer (&new_dtend, g_date_time_unref);
}
g_clear_pointer (&new_dtstart, g_date_time_unref);