From fce4feb54cb6ba8b544c3316066aaede5e8244d4 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 11 Feb 2004 11:53:32 +0000 Subject: Fix mem leaks. 2004-02-11 Christian Persch * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): Fix mem leaks. --- ChangeLog | 6 ++++++ embed/mozilla/mozilla-embed-persist.cpp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0a1eff9c0..add7d611c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-02-11 Christian Persch + + * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): + + Fix mem leaks. + 2004-02-11 Marco Pesenti Gritti * 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; } -- cgit v1.2.3