[evolution-data-server/openismus-work-3-8] EBookBackendFile: Ensure list pointer for e_book_sqlite_search() is NULL in advance



commit 7ed12c5c4ea46d9f1e85240ad104d286228967f4
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Sun Dec 1 17:40:17 2013 +0900

    EBookBackendFile: Ensure list pointer for e_book_sqlite_search() is NULL in advance

 addressbook/backends/file/e-book-backend-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/backends/file/e-book-backend-file.c b/addressbook/backends/file/e-book-backend-file.c
index 484c4f9..2e88f51 100644
--- a/addressbook/backends/file/e-book-backend-file.c
+++ b/addressbook/backends/file/e-book-backend-file.c
@@ -1411,7 +1411,7 @@ book_view_thread (gpointer data)
        EBookBackendFile *bf;
        EBookBackendSExp *sexp;
        const gchar *query;
-       GSList *summary_list, *l;
+       GSList *summary_list = NULL, *l;
        GHashTable *fields_of_interest;
        GError *local_error = NULL;
        gboolean meta_contact, success;


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