diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-07-14 16:04:21 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-07-14 16:04:21 +0800 |
commit | 2c7314e543cb6b8fce33e5818c9913cfb3e5507c (patch) | |
tree | c53b978574a3005bddc9c4e842cfd5871796f5f7 /src | |
parent | de6239c432661f8b0061ad02db565b793b0fa746 (diff) | |
download | gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.tar gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.tar.gz gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.tar.bz2 gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.tar.lz gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.tar.xz gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.tar.zst gsoc2013-epiphany-2c7314e543cb6b8fce33e5818c9913cfb3e5507c.zip |
Fix mem leaks.
2003-07-14 Christian Persch <chpe@cvs.gnome.org>
* src/pdm-dialog.c: (pdm_dialog_remove_button_clicked_cb),
(pdm_dialog_finalize):
Fix mem leaks.
Diffstat (limited to 'src')
-rwxr-xr-x | src/pdm-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index cb6fad05c..ec2cd9dfc 100755 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -366,6 +366,7 @@ pdm_dialog_remove_button_clicked_cb (GtkWidget *button, remove_list = g_list_append (remove_list, data); gtk_tree_row_reference_free ((GtkTreeRowReference *)r->data); + gtk_tree_path_free (path); } if (remove_list) @@ -584,7 +585,11 @@ pdm_dialog_finalize (GObject *object) pdm_dialog_passwords_free (dialog->priv->passwords, NULL); pdm_dialog_cookies_free (dialog->priv->cookies, NULL); + g_free (dialog->priv->passwords); + g_free (dialog->priv->cookies); + g_free (dialog->priv); + dialog->priv = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); } |