75641 - leak in nsImageWin a,sr=brendan r=pavlov

git-svn-id: svn://10.0.0.236/trunk@93175 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dprice%netscape.com 2001-04-26 19:46:02 +00:00
parent 7776548305
commit 834b8a22a5

View File

@ -915,6 +915,11 @@ nsImageWin::CleanUpDIB()
mImageBits = nsnull;
}
if (mAlphaBits != nsnull) {
delete [] mAlphaBits;
mAlphaBits = nsnull;
}
// Should be an ISupports, so we can release
if (mColorMap != nsnull){
delete [] mColorMap->Index;