From 3da4948c0fc1f2c21b163f0ec456b2d99c881258 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 7 Sep 2013 12:31:19 -0400 Subject: Miscellaneous cleanups. --- calendar/gui/e-week-view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui/e-week-view.c') diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index b00a3afa18..3751e64f25 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -4372,9 +4372,9 @@ e_week_view_on_editing_stopped (EWeekView *week_view, E_CALENDAR_VIEW (week_view), client); } - if (uid) - g_free (uid); - if (error) + g_free (uid); + + if (error != NULL) g_error_free (error); /* we remove the object since we either got the update from the server or failed */ -- cgit v1.2.3