From 2fc37b3731e425693a349b9438cf841dd4c7de4b Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 8 Aug 2003 17:30:05 +0000 Subject: Fix mem leak. 2003-08-08 Christian Persch * embed/find-dialog.c: (set_properties): Fix mem leak. --- ChangeLog | 6 ++++++ embed/find-dialog.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index f809b7d39..89120a0bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-08 Christian Persch + + * embed/find-dialog.c: (set_properties): + + Fix mem leak. + 2003-08-08 Marco Pesenti Gritti * lib/egg/egg-toolbars-model.c: diff --git a/embed/find-dialog.c b/embed/find-dialog.c index a067de8aa..20b77b42e 100755 --- a/embed/find-dialog.c +++ b/embed/find-dialog.c @@ -165,15 +165,19 @@ set_properties (FindDialog *find_dialog) ephy_dialog_get_value (dialog, MATCH_CASE_PROP, &match_case); b_match_case = g_value_get_boolean (&match_case); + g_value_unset (&match_case); ephy_dialog_get_value (dialog, AUTOWRAP_PROP, &wrap); b_wrap = g_value_get_boolean (&wrap); + g_value_unset (&wrap); embed = ephy_embed_dialog_get_embed (EPHY_EMBED_DIALOG(dialog)); g_return_if_fail (embed != NULL); ephy_embed_find_set_properties (embed, search_string, b_match_case, b_wrap); + + g_free (search_string); } static void -- cgit v1.2.3