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:
parent
7776548305
commit
834b8a22a5
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user