Commit 198fb25d authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

gdiplus: Fix memory leak in GdipImageRotateFlip.

parent 577740f0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment