[evolution-data-server] ecalclient: Fix uninitialized list



commit c53501e96cb3c13f657c80579a8ad94eda886e4e
Author: Colin Walters <walters verbum org>
Date:   Sat Feb 23 07:15:49 2013 -0500

    ecalclient: Fix uninitialized list
    
    This would likely crash.

 calendar/libecal/e-cal-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]