Corrected arguments in DIB_DeleteDIBSection.
This commit is contained in:
parent
dd7523d518
commit
718b0e4059
|
@ -910,7 +910,7 @@ void DIB_DeleteDIBSection( BITMAPOBJ *bmp )
|
|||
if (dib->dshSection)
|
||||
UnmapViewOfFile(dib->dsBm.bmBits);
|
||||
else
|
||||
VirtualFree(dib->dsBm.bmBits, MEM_RELEASE, 0L);
|
||||
VirtualFree(dib->dsBm.bmBits, 0L, MEM_RELEASE );
|
||||
}
|
||||
|
||||
BITMAP_Driver->pDeleteDIBSection(bmp);
|
||||
|
|
Loading…
Reference in New Issue