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);
|
assert(dst->image.type == ImageTypeBitmap);
|
||||||
|
|
||||||
GdipFree(dst->bitmapbits);
|
GdipFree(dst->bitmapbits);
|
||||||
|
GdipFree(dst->own_bits);
|
||||||
DeleteDC(dst->hdc);
|
DeleteDC(dst->hdc);
|
||||||
DeleteObject(dst->hbitmap);
|
DeleteObject(dst->hbitmap);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user