gdiplus: Use GdipFree instead of HeapFree in GdipDeleteGraphics.

This commit is contained in:
Nikolay Sivov 2008-08-24 14:45:05 +04:00 committed by Alexandre Julliard
parent 0db63a0264
commit 6e37ec6bc3
1 changed files with 1 additions and 1 deletions

View File

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