mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
75641 - leak in nsImageWin a,sr=brendan r=pavlov
This commit is contained in:
parent
32304af1c0
commit
49de60e6e3
@ -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…
Reference in New Issue
Block a user