diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-31 05:24:37 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-31 05:24:37 +0800 |
commit | 46fec71926889b983b9f5f18f10e7259d25bfb24 (patch) | |
tree | 04243b6ba6ff89ac0f0a08c13736f2f8e2a859ed | |
parent | 8c76cbff028c09a5c7158527a5a72ae331d2a156 (diff) | |
download | gsoc2013-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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -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); } //////////////////////////////////////////////////////////////////////////////// |