[evolution-data-server/email-factory] Fix a crash.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/email-factory] Fix a crash.
- Date: Tue, 17 May 2011 17:35:11 +0000 (UTC)
commit 160b88ec9834ca08a49c2b7acf5821ed1d642d69
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]