aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/ContentHandler.cpp3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cacfc695..d6252a73f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-01-30 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/ContentHandler.cpp:
+
+ Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the
+ mMimeType string.
+
2004-01-29 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyHeaderSniffer.cpp:
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index b6f9fca73..510a3c8d9 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -67,8 +67,7 @@ GContentHandler::~GContentHandler()
{
LOG ("GContentHandler dtor")
- g_free (mUri);
- g_free (mMimeType);
+ nsMemory::Free (mMimeType);
}
////////////////////////////////////////////////////////////////////////////////