gdiplus: Use GdipFree instead of HeapFree in GdipDeleteGraphics.
This commit is contained in:
parent
0db63a0264
commit
6e37ec6bc3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue