[evolution-patches] patch for #72653 (servers/groupwise)
- From: Sivaiah Nallagatla <snallagatla novell com>
- To: evolution-patches <evolution-patches ximian com>
- Subject: [evolution-patches] patch for #72653 (servers/groupwise)
- Date: Mon, 28 Feb 2005 20:19:13 +0530
crash is because of memory corruption caused by a double free.
Side effect of recent memory leak fix.
Siva
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/ChangeLog,v
retrieving revision 1.127
diff -u -p -r1.127 ChangeLog
--- ChangeLog 25 Feb 2005 06:30:22 -0000 1.127
+++ ChangeLog 28 Feb 2005 14:45:27 -0000
@@ -1,3 +1,11 @@
+2005-02-28 Suvaiah Nallagatla <snallagatla novell com>
+
+ * e-gw-item.c (set_contact_fields_from_soap_parameter) :
+ free primary_email not value, as when there is more than
+ one email , one email gets freed twice.
+
+ Fixes #72653
+
2005-02-25 Chenthill Palanisamy <pchenthill novell com>
* e-gw-connection.c: (e_gw_connection_get_quick_messages):
Index: e-gw-item.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/e-gw-item.c,v
retrieving revision 1.74
diff -u -p -r1.74 e-gw-item.c
--- e-gw-item.c 28 Feb 2005 11:27:29 -0000 1.74
+++ e-gw-item.c 28 Feb 2005 14:45:46 -0000
@@ -1024,7 +1024,7 @@ set_contact_fields_from_soap_parameter (
if (value && (!primary_email || !g_str_equal (primary_email, value)))
item->priv->email_list = g_list_append (item->priv->email_list, value);
}
- g_free (value);
+ g_free (primary_email);
}
subparam = soup_soap_parameter_get_first_child_by_name(param, "imList");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]