75641 - leak in nsImageWin a,sr=brendan r=pavlov
This commit is contained in:
Родитель
0d9750ffcf
Коммит
8eeac7b37a
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче