[evolution-data-server/meego-eds: 28/47] Fix a crash.



commit 07c970cbc40b068e82db3396ef03ce4febbe7fa3
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Tue May 17 22:56:55 2011 +0530

    Fix a crash.

 mail/daemon/e-mail-data-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/daemon/e-mail-data-store.c b/mail/daemon/e-mail-data-store.c
index 6d7bd1c..0645491 100644
--- a/mail/daemon/e-mail-data-store.c
+++ b/mail/daemon/e-mail-data-store.c
@@ -772,7 +772,7 @@ e_mail_data_store_new (CamelStore *store, const char *url)
 
   	estore = g_object_new (EMAIL_TYPE_DATA_STORE, NULL);
 	priv = DATA_STORE_PRIVATE(estore);
-	priv->store = store;
+	priv->store = g_object_ref(store);
 	priv->url = g_strdup (url);
 
 	return estore;



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