aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/groupwise-features/ChangeLog6
-rw-r--r--plugins/groupwise-features/proxy.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index ae31adbfbd..25ec8d13f2 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-25 Sankar P <psankar@novell.com>
+
+ * proxy.c: (org_gnome_proxy):
+ We are using some g_object_set on EAccount.
+ We should also avoid double-free later. So reffing.
+
2008-03-18 Milan Crha <mcrha@redhat.com>
** Fix for bug #511952
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index 186d388403..7ad11da2e3 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -658,6 +658,8 @@ org_gnome_proxy (EPlugin *epl, EConfigHookItemFactoryData *data)
target_account = (EMConfigTargetAccount *)data->config->target;
account = target_account->account;
+ /* We are using some g_object_set on this. We shuold also avoid double-free later. So reffing */
+ g_object_ref (account);
camel_exception_init (&ex);
if (!(store = (CamelOfflineStore *) camel_session_get_service (session, e_account_get_string(account, E_ACCOUNT_SOURCE_URL), CAMEL_PROVIDER_STORE, &ex))) {