aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xembed/find-dialog.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f809b7d39..89120a0bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-08 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/find-dialog.c: (set_properties):
+
+ Fix mem leak.
+
2003-08-08 Marco Pesenti Gritti <marco@it.gnome.org>
* 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