aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-11 19:53:32 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-11 19:53:32 +0800
commitfce4feb54cb6ba8b544c3316066aaede5e8244d4 (patch)
tree79ecfa59dd7e3b77acc29283571e970a7591e1f0
parent2767a4325bcdc1731f7abfe58a79831a83badd35 (diff)
downloadgsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.tar
gsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.tar.gz
gsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.tar.bz2
gsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.tar.lz
gsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.tar.xz
gsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.tar.zst
gsoc2013-epiphany-fce4feb54cb6ba8b544c3316066aaede5e8244d4.zip
Fix mem leaks.
2004-02-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): Fix mem leaks.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a1eff9c0..add7d611c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-11 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/mozilla-embed-persist.cpp: (impl_save):
+
+ Fix mem leaks.
+
2004-02-11 Marco Pesenti Gritti <marco@gnome.org>
* src/ephy-completion-model.c: (is_base_address),
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index a7442ad03..7a20863ef 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -266,6 +266,9 @@ impl_save (EphyEmbedPersist *persist)
if (NS_FAILED (rv)) return FALSE;
}
+ g_free (uri);
+ g_free (filename);
+
return TRUE;
}