Module: wine Branch: master Commit: 6e37ec6bc3f404c93991e0a715002e8a7709a8d6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e37ec6bc3f404c93991e0a715...
Author: Nikolay Sivov bunglehead@gmail.com Date: Sun Aug 24 14:45:05 2008 +0400
gdiplus: Use GdipFree instead of HeapFree in GdipDeleteGraphics.
---
dlls/gdiplus/graphics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 7bbcc74..ec6b32b 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -892,7 +892,7 @@ GpStatus WINGDIPAPI GdipDeleteGraphics(GpGraphics *graphics) ReleaseDC(graphics->hwnd, graphics->hdc);
GdipDeleteMatrix(graphics->worldtrans); - HeapFree(GetProcessHeap(), 0, graphics); + GdipFree(graphics);
return Ok; }