diff --git a/mozilla/content/base/src/nsDocumentEncoder.cpp b/mozilla/content/base/src/nsDocumentEncoder.cpp index 678577790b5..4b3b8ef9cb6 100644 --- a/mozilla/content/base/src/nsDocumentEncoder.cpp +++ b/mozilla/content/base/src/nsDocumentEncoder.cpp @@ -97,7 +97,7 @@ nsHTMLEncoder::nsHTMLEncoder() : mMimeType("text/html") nsHTMLEncoder::~nsHTMLEncoder() { NS_IF_RELEASE(mDocument); - NS_IF_RELEASE(mSelection); + //NS_IF_RELEASE(mSelection); // no. we never addref'd it. NS_IF_RELEASE(mPresShell); } @@ -339,7 +339,7 @@ nsTextEncoder::nsTextEncoder() : mMimeType("text/plain") nsTextEncoder::~nsTextEncoder() { NS_IF_RELEASE(mDocument); - NS_IF_RELEASE(mSelection); + //NS_IF_RELEASE(mSelection); // no. we never addref'd it. NS_IF_RELEASE(mPresShell); } diff --git a/mozilla/layout/base/src/nsDocumentEncoder.cpp b/mozilla/layout/base/src/nsDocumentEncoder.cpp index 678577790b5..4b3b8ef9cb6 100644 --- a/mozilla/layout/base/src/nsDocumentEncoder.cpp +++ b/mozilla/layout/base/src/nsDocumentEncoder.cpp @@ -97,7 +97,7 @@ nsHTMLEncoder::nsHTMLEncoder() : mMimeType("text/html") nsHTMLEncoder::~nsHTMLEncoder() { NS_IF_RELEASE(mDocument); - NS_IF_RELEASE(mSelection); + //NS_IF_RELEASE(mSelection); // no. we never addref'd it. NS_IF_RELEASE(mPresShell); } @@ -339,7 +339,7 @@ nsTextEncoder::nsTextEncoder() : mMimeType("text/plain") nsTextEncoder::~nsTextEncoder() { NS_IF_RELEASE(mDocument); - NS_IF_RELEASE(mSelection); + //NS_IF_RELEASE(mSelection); // no. we never addref'd it. NS_IF_RELEASE(mPresShell); }