diff options
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-table-adapter.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index e868df8092..f86dce89f0 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2002-12-17 Chris Toshok <toshok@ximian.com> + + [ fixes bug #34897 ] + * gui/widgets/e-addressbook-table-adapter.c + (addressbook_value_at): don't free the return of + e_card_simple_get_const, as this causes a double free later on. + 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c: convert the clist in here to a diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c index 5f09727ee0..6146aa75f3 100644 --- a/addressbook/gui/widgets/e-addressbook-table-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c @@ -122,7 +122,7 @@ addressbook_value_at (ETableModel *etc, int col, int row) if (value && !strncmp (value, "<?xml", 5)) { EDestination *dest = e_destination_import (value); if (dest) { - g_free ((gchar *) value); + /* XXX blech, we leak this */ value = g_strdup (e_destination_get_address (dest)); g_object_unref (dest); } |