From 14794b3d26e6be55aba0dd173dbb81c288b13ba5 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Tue, 13 Jun 2006 19:27:28 +0000 Subject: ** Fixes bug #342646 Plugged memory leak. Ditto. 2006-06-13 Hiroyuki Ikezoe ** Fixes bug #342646 * gui/widgets/e-addressbook-view.c: Plugged memory leak. * gui/widgets/e-minicard-view.c: Ditto. svn path=/trunk/; revision=32129 --- addressbook/gui/widgets/e-addressbook-view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/widgets/e-addressbook-view.c') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 2a6b462337..bf541bb05c 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1150,6 +1150,7 @@ table_drag_data_get (ETable *table, selection_data->target, 8, value, strlen (value)); + g_free (value); break; } case DND_TARGET_TYPE_SOURCE_VCARD: { @@ -1161,6 +1162,7 @@ table_drag_data_get (ETable *table, selection_data->target, 8, value, strlen (value)); + g_free (value); break; } } @@ -1973,7 +1975,7 @@ selection_get (GtkWidget *invisible, gtk_selection_data_set (selection_data, GDK_SELECTION_TYPE_STRING, 8, value, strlen (value)); - + g_free (value); } static void -- cgit v1.2.3