From 05c0a6191a9a5270a98959077855461378b7703b Mon Sep 17 00:00:00 2001 From: Sankar P Date: Tue, 25 Mar 2008 11:42:56 +0000 Subject: We are using some g_object_set on EAccount. We should also avoid 2008-03-25 Sankar P * proxy.c: (org_gnome_proxy): We are using some g_object_set on EAccount. We should also avoid double-free later. So reffing. svn path=/trunk/; revision=35241 --- plugins/groupwise-features/ChangeLog | 6 ++++++ plugins/groupwise-features/proxy.c | 2 ++ 2 files changed, 8 insertions(+) (limited to 'plugins/groupwise-features') 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 + + * 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 ** 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))) { -- cgit v1.2.3