calendar: Fix double free

The GError is unreferenced twice.
This commit is contained in:
Georges Basile Stavracas Neto
2019-05-24 21:25:28 -03:00
parent 9a2cc7ec1c
commit badd1fb0f1
+1 -1
View File
@@ -195,7 +195,7 @@ gcal_calendar_initable_init (GInitable *initable,
if (local_error)
{
g_propagate_error (error, local_error);
g_propagate_error (error, g_steal_pointer (&local_error));
GCAL_RETURN (FALSE);
}