aboutsummaryrefslogtreecommitdiffstats
path: root/embed/find-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-08-09 01:30:05 +0800
committerChristian Persch <chpe@src.gnome.org>2003-08-09 01:30:05 +0800
commit2fc37b3731e425693a349b9438cf841dd4c7de4b (patch)
treefa93f42f5391953f0a2782c1f03014492eb74f94 /embed/find-dialog.c
parentddf8fccbe9c2afd3c432c06bf2240c398732c279 (diff)
downloadgsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.tar
gsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.tar.gz
gsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.tar.bz2
gsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.tar.lz
gsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.tar.xz
gsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.tar.zst
gsoc2013-epiphany-2fc37b3731e425693a349b9438cf841dd4c7de4b.zip
Fix mem leak.
2003-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/find-dialog.c: (set_properties): Fix mem leak.
Diffstat (limited to 'embed/find-dialog.c')
-rwxr-xr-xembed/find-dialog.c4
1 files changed, 4 insertions, 0 deletions
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