[evolution-patches] GroupWise Proxy - Modify-rights Crash Fix



Hi,

The attached patch fixes a crash in proxy. Changes an inappropriate
destructor call. Attached patch uses g_free instead of g_object_unref,
since the object was created using g_new and not g_object_new.

Fixes #312309. Please review.

Thanks,
Sankar
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-features/ChangeLog,v
retrieving revision 1.32
diff -u -p -r1.32 ChangeLog
--- ChangeLog	24 Aug 2005 11:41:48 -0000	1.32
+++ ChangeLog	25 Aug 2005 08:57:29 -0000
@@ -1,3 +1,9 @@
+2005-08-25  Sankar P  <psankar novell com>
+
+	*  proxy.c: (proxy_dialog_finalize):
+	Replaced g_object_unref with g_free since priv was created using g_new.
+	Fixes #312309
+
 2005-08-23  Not Zed  <NotZed Ximian com>
 
 	* proxy-login.c (proxy_get_password): return the right type.
Index: proxy.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-features/proxy.c,v
retrieving revision 1.8
diff -u -p -r1.8 proxy.c
--- proxy.c	24 Aug 2005 11:41:48 -0000	1.8
+++ proxy.c	25 Aug 2005 08:57:29 -0000
@@ -162,7 +162,7 @@ proxy_dialog_finalize (GObject *object)
 		free_proxy_list (priv->proxy_list);
 		g_free (priv->help_section);
 		g_object_unref (priv->xml_tab);
-		g_object_unref (prd->priv);
+		g_free (prd->priv);
 		prd->priv = NULL;
 	}
 	


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