aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-31 05:24:37 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-31 05:24:37 +0800
commit46fec71926889b983b9f5f18f10e7259d25bfb24 (patch)
tree04243b6ba6ff89ac0f0a08c13736f2f8e2a859ed /embed/mozilla
parent8c76cbff028c09a5c7158527a5a72ae331d2a156 (diff)
downloadgsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.tar
gsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.tar.gz
gsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.tar.bz2
gsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.tar.lz
gsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.tar.xz
gsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.tar.zst
gsoc2013-epiphany-46fec71926889b983b9f5f18f10e7259d25bfb24.zip
Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the mMimeType
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.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/ContentHandler.cpp3
1 files changed, 1 insertions, 2 deletions
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);
}
////////////////////////////////////////////////////////////////////////////////