evolution r35241 - trunk/plugins/groupwise-features



Author: psankar
Date: Tue Mar 25 11:42:56 2008
New Revision: 35241
URL: http://svn.gnome.org/viewvc/evolution?rev=35241&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:
   trunk/plugins/groupwise-features/ChangeLog
   trunk/plugins/groupwise-features/proxy.c

Modified: trunk/plugins/groupwise-features/proxy.c
==============================================================================
--- trunk/plugins/groupwise-features/proxy.c	(original)
+++ trunk/plugins/groupwise-features/proxy.c	Tue Mar 25 11:42:56 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]