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