aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-persist.cpp
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 /embed/mozilla/mozilla-embed-persist.cpp
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.
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}