diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 233a9eac61..9b36280958 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);