calendar: Fix double free

The GError is unreferenced twice.
parent 9a2cc7ec
...@@ -195,7 +195,7 @@ gcal_calendar_initable_init (GInitable *initable, ...@@ -195,7 +195,7 @@ gcal_calendar_initable_init (GInitable *initable,
if (local_error) if (local_error)
{ {
g_propagate_error (error, local_error); g_propagate_error (error, g_steal_pointer (&local_error));
GCAL_RETURN (FALSE); GCAL_RETURN (FALSE);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment