diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-08-09 01:30:05 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-08-09 01:30:05 +0800 |
commit | 2fc37b3731e425693a349b9438cf841dd4c7de4b (patch) | |
tree | fa93f42f5391953f0a2782c1f03014492eb74f94 /embed | |
parent | ddf8fccbe9c2afd3c432c06bf2240c398732c279 (diff) | |
download | gsoc2013-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')
-rwxr-xr-x | embed/find-dialog.c | 4 |
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 |