[evolution-data-server/gnome-2-28] Fix a crash due to un initialized variable.



commit 47cfee4047bae8e08a274bb495de40267228885b
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Mon Nov 2 10:27:13 2009 +0000

    Fix a crash due to un initialized variable.

 camel/camel-db.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-db.c b/camel/camel-db.c
index e88b530..a371edc 100644
--- a/camel/camel-db.c
+++ b/camel/camel-db.c
@@ -398,7 +398,7 @@ camel_db_open (const gchar *path, CamelException *ex)
 	static GOnce vfs_once = G_ONCE_INIT;
 	CamelDB *cdb;
 	sqlite3 *db;
-	gchar *cache;
+	gchar *cache=NULL;
 	gint ret;
 
 	g_once (&vfs_once, (GThreadFunc) init_sqlite_vfs, NULL);



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