Module: wine Branch: master Commit: 198fb25d17248b23d084b843baff8b0fcb7d5d6f URL: http://source.winehq.org/git/wine.git/?a=commit;h=198fb25d17248b23d084b843ba...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Jul 12 09:17:56 2012 -0500
gdiplus: Fix memory leak in GdipImageRotateFlip.
---
dlls/gdiplus/image.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 233a9eac..9b36280 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -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);