diff options
author | Christian Persch <christian@hpersch.de> | 2003-03-15 22:26:15 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-03-15 22:26:15 +0800 |
commit | e460bd19de1c3856b1f066a84fc985014f07004f (patch) | |
tree | ca57a8769415b017ead1ff51087d3ecf54e6d853 | |
parent | c4f0df940819eecbafa66faf177d2a4b97dea09c (diff) | |
download | gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.tar gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.tar.gz gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.tar.bz2 gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.tar.lz gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.tar.xz gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.tar.zst gsoc2013-epiphany-e460bd19de1c3856b1f066a84fc985014f07004f.zip |
Fix leak and a double free
2003-03-15 Christian Persch <christian@hpersch.de>
* embed/ephy-embed-utils.c: (ephy_embed_utils_save):
* src/popup-commands.c: (save_property_url):
Fix leak and a double free
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/ephy-embed-utils.c | 1 | ||||
-rw-r--r-- | src/popup-commands.c | 2 |
3 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2003-03-15 Christian Persch <christian@hpersch.de> + + * embed/ephy-embed-utils.c: (ephy_embed_utils_save): + * src/popup-commands.c: (save_property_url): + + Fix leak and a double free + 2003-03-15 Marco Pesenti Gritti <marco@it.gnome.org> * data/glade/Makefile.am: diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c index 29b06bee3..eda05cd64 100644 --- a/embed/ephy-embed-utils.c +++ b/embed/ephy-embed-utils.c @@ -120,6 +120,7 @@ ephy_embed_utils_save (GtkWidget *window, else { g_free (retPath); + retPath = NULL; ask_dest = TRUE; } } diff --git a/src/popup-commands.c b/src/popup-commands.c index 7b5a6ffe0..2e2bb9080 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -291,6 +291,8 @@ save_property_url (EggAction *action, ask_dest, FALSE, persist); + + g_object_unref (G_OBJECT(persist)); } void |