mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:51:11 +00:00
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…
Reference in a new issue