aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-14 22:22:37 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-14 22:22:37 +0800
commitedd4b54aea706e6e2c4b6b35edb37012230c5cea (patch)
tree2bbbb3b2d0611c1c367db162c76933291bde0028 /src/pdm-dialog.c
parent52756c056bf6b4a3bd93e0461391287b1761ed8d (diff)
downloadgsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.tar
gsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.tar.gz
gsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.tar.bz2
gsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.tar.lz
gsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.tar.xz
gsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.tar.zst
gsoc2013-epiphany-edd4b54aea706e6e2c4b6b35edb37012230c5cea.zip
Fix mem leaks; thanks to Xan for pointing this out.
2003-07-14 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_cookies_properties_button_clicked_cb): * src/language-editor.c: (language_editor_update_pref): * embed/downloader-view.c: (controls_info_foreach), (download_dialog_pause_cb), (download_dialog_abort_cb), (downloader_treeview_selection_changed_cb), (open_selection_foreach): Fix mem leaks; thanks to Xan for pointing this out.
Diffstat (limited to 'src/pdm-dialog.c')
-rwxr-xr-xsrc/pdm-dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index d5ef8cc42..1ba262599 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -792,6 +792,7 @@ pdm_dialog_cookies_properties_button_clicked_cb (GtkWidget *button,
gtk_tree_model_get_value
(model, &iter, COL_COOKIES_DATA, &val);
info = (CookieInfo *)g_value_get_pointer (&val);
+ g_value_unset (&val);
show_cookies_properties (dialog, info);