gdiplus: Fix memory leak in GdipImageRotateFlip.

This commit is contained in:
Vincent Povirk 2012-07-12 09:17:56 -05:00 committed by Alexandre Julliard
parent 577740f0d7
commit 198fb25d17
1 changed files with 1 additions and 0 deletions

View File

@ -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);