aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/ephy-embed-utils.c1
-rw-r--r--src/popup-commands.c2
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 61f474ad6..f062d0fdb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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