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. --- embed/mozilla/mozilla-embed-persist.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'embed/mozilla') 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