evolution r35242 - branches/gnome-2-22/plugins/groupwise-features



Author: psankar
Date: Tue Mar 25 11:46:12 2008
New Revision: 35242
URL: http://svn.gnome.org/viewvc/evolution?rev=35242&view=rev

Log:
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. 




Modified:
   branches/gnome-2-22/plugins/groupwise-features/ChangeLog
   branches/gnome-2-22/plugins/groupwise-features/proxy.c

Modified: branches/gnome-2-22/plugins/groupwise-features/proxy.c
==============================================================================
--- branches/gnome-2-22/plugins/groupwise-features/proxy.c	(original)
+++ branches/gnome-2-22/plugins/groupwise-features/proxy.c	Tue Mar 25 11:46:12 2008
@@ -658,6 +658,8 @@
 
 	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))) {



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