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)
|
if (dib->dshSection)
|
||||||
UnmapViewOfFile(dib->dsBm.bmBits);
|
UnmapViewOfFile(dib->dsBm.bmBits);
|
||||||
else
|
else
|
||||||
VirtualFree(dib->dsBm.bmBits, MEM_RELEASE, 0L);
|
VirtualFree(dib->dsBm.bmBits, 0L, MEM_RELEASE );
|
||||||
}
|
}
|
||||||
|
|
||||||
BITMAP_Driver->pDeleteDIBSection(bmp);
|
BITMAP_Driver->pDeleteDIBSection(bmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user