From 6ca4d6b1083d4c982a4810d677c19afa5a88456f Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Wed, 20 Feb 2008 15:39:45 +0000 Subject: Patch from Paul Bolle : Fix for bug #517082 (Fixed a small memory-leak) svn path=/trunk/; revision=35064 --- plugins/import-ics-attachments/ChangeLog | 8 +++++++- plugins/import-ics-attachments/icsimporter.c | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/import-ics-attachments/ChangeLog b/plugins/import-ics-attachments/ChangeLog index c58460b719..dfc443ce64 100644 --- a/plugins/import-ics-attachments/ChangeLog +++ b/plugins/import-ics-attachments/ChangeLog @@ -1,3 +1,9 @@ +2007-02-20 Paul Bolle + + ** Fix for bug #517082 + + * icsimporter.c: (init_widgets): Fix small leak. + 2008-02-06 Milan Crha ** Fix for bug #514622 @@ -13,7 +19,7 @@ 2007-06-03 Srinivasa Ragavan - ** Fix for version removal from Installed files from Gilles Dartiguelongue + ** Fix for version removal from Installed files from Gilles Dartiguelongue * Makefile.am: diff --git a/plugins/import-ics-attachments/icsimporter.c b/plugins/import-ics-attachments/icsimporter.c index 093d95e3d0..c869db35d9 100644 --- a/plugins/import-ics-attachments/icsimporter.c +++ b/plugins/import-ics-attachments/icsimporter.c @@ -235,6 +235,7 @@ init_widgets(char *path) markup = g_markup_printf_escaped ("%s", label_str); gtk_label_set_markup (GTK_LABEL (label), markup); + g_free (markup); hbox = gtk_hbox_new (FALSE, FALSE); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 6); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 6); -- cgit v1.2.3