From e96d3c1eda9769badd8377008eb5eea89d2c5a06 Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Wed, 19 Sep 2012 18:41:40 +0900 Subject: [PATCH] maybe, fixed memory leak. --- .../extensions/universalchardet/src/base/nsSBCSGroupProber.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsSBCSGroupProber.cpp b/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsSBCSGroupProber.cpp index f97a427..e5b6ba6 100644 --- a/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsSBCSGroupProber.cpp +++ b/src/ext/libcharsetdetect/mozilla/extensions/universalchardet/src/base/nsSBCSGroupProber.cpp @@ -182,6 +182,7 @@ nsProbingState nsSBCSGroupProber::HandleData(const char* aBuf, PRUint32 aLen) done: PR_FREEIF(newBuf1); + PR_FREEIF(newBuf2); return mState; }