gdi32: Fix a memory leak.

This commit is contained in:
Andrew Talbot 2007-09-24 21:13:57 +01:00 committed by Alexandre Julliard
parent 58c6bab9c9
commit ce0e1706fe
1 changed files with 1 additions and 1 deletions

View File

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