diff options
author | Sankar P <psankar@novell.com> | 2008-03-25 19:42:56 +0800 |
---|---|---|
committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2008-03-25 19:42:56 +0800 |
commit | 05c0a6191a9a5270a98959077855461378b7703b (patch) | |
tree | 4175bd2a962baf5a34a2e52fe7c44c85e65dd1ea /plugins/groupwise-features | |
parent | 62c855b6318d6bff79be425375a27e98963023f7 (diff) | |
download | gsoc2013-evolution-05c0a6191a9a5270a98959077855461378b7703b.tar.gz gsoc2013-evolution-05c0a6191a9a5270a98959077855461378b7703b.tar.zst gsoc2013-evolution-05c0a6191a9a5270a98959077855461378b7703b.zip |
We are using some g_object_set on EAccount. We should also avoid
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.
svn path=/trunk/; revision=35241
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/groupwise-features/proxy.c | 2 |
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))) { |