From c53501e96cb3c13f657c80579a8ad94eda886e4e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 23 Feb 2013 07:15:49 -0500 Subject: [PATCH] ecalclient: Fix uninitialized list This would likely crash. --- calendar/libecal/e-cal-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c index 44fd444..66e2563 100644 --- a/calendar/libecal/e-cal-client.c +++ b/calendar/libecal/e-cal-client.c @@ -5773,7 +5773,7 @@ e_cal_client_get_attachment_uris_sync (ECalClient *client, (!success && (uris == NULL)), FALSE); if (uris != NULL) { - GSList *tmp; + GSList *tmp = NULL; gint ii; for (ii = 0; uris[ii] != NULL; ii++) { -- 2.7.4