mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
gdiplus: Fix memory leak in GdipImageRotateFlip.
This commit is contained in:
parent
577740f0d7
commit
198fb25d17
@ -1973,6 +1973,7 @@ static void move_bitmap(GpBitmap *dst, GpBitmap *src, BOOL clobber_palette)
|
||||
assert(dst->image.type == ImageTypeBitmap);
|
||||
|
||||
GdipFree(dst->bitmapbits);
|
||||
GdipFree(dst->own_bits);
|
||||
DeleteDC(dst->hdc);
|
||||
DeleteObject(dst->hbitmap);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user