evolution-data-server r8981 - branches/gnome-2-22/servers/groupwise
- From: abharath svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8981 - branches/gnome-2-22/servers/groupwise
- Date: Mon, 16 Jun 2008 03:36:40 +0000 (UTC)
Author: abharath
Date: Mon Jun 16 03:36:39 2008
New Revision: 8981
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8981&view=rev
Log:
Committing on behalf of Chenthill Palanisamy <pchenthill novell com>
2008-06-16 Chenthill Palanisamy <pchenthill novell com>
** Fixes #394654 (bnc)
* e-gw-item.c: (e_gw_item_init), (set_contact_fields_from_soap_parameter),
(set_organization_fields_from_soap_parameter): Fixes a EDS crasher.
Modified:
branches/gnome-2-22/servers/groupwise/ChangeLog
branches/gnome-2-22/servers/groupwise/e-gw-item.c
Modified: branches/gnome-2-22/servers/groupwise/e-gw-item.c
==============================================================================
--- branches/gnome-2-22/servers/groupwise/e-gw-item.c (original)
+++ branches/gnome-2-22/servers/groupwise/e-gw-item.c Mon Jun 16 03:36:39 2008
@@ -543,7 +543,7 @@
priv->attach_list = NULL ;
priv->simple_fields = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, g_free);
priv->full_name = g_new0(FullName, 1);
- priv->addresses = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, free_postal_address);
+ priv->addresses = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, free_postal_address);
priv->additions = g_hash_table_new(g_str_hash, g_str_equal);
priv->updates = g_hash_table_new (g_str_hash, g_str_equal);
priv->deletions = g_hash_table_new (g_str_hash, g_str_equal);
@@ -1277,7 +1277,7 @@
add = "Other";
if (value)
- g_hash_table_insert (item->priv->addresses, (char*)add, address);
+ g_hash_table_insert (item->priv->addresses, (char *) add, address);
else
free_postal_address (address);
g_free (value);
@@ -1411,7 +1411,7 @@
if (subparam) {
address = g_new0 (PostalAddress, 1);
set_postal_address_from_soap_parameter (address, subparam);
- g_hash_table_insert (item->priv->addresses, g_strdup ("Office"), address);
+ g_hash_table_insert (item->priv->addresses, "Office", address);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]