Commit ce0e1706 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

gdi32: Fix a memory leak.

parent 58c6bab9
......@@ -970,7 +970,7 @@ BOOL WINAPI PolyDraw(HDC hdc, const POINT *lppt, const BYTE *lpbTypes,
Polyline(hdc, line_pts, num_pts);
MoveToEx(hdc, line_pts[num_pts - 1].x, line_pts[num_pts - 1].y, NULL);
HeapFree(GetProcessHeap(), 0, line_pts);
result = TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment