Module: wine Branch: master Commit: ce0e1706fe8aada6be3444b6de3457cb4be1dbe2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce0e1706fe8aada6be3444b6de...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Mon Sep 24 21:13:57 2007 +0100
gdi32: Fix a memory leak.
---
dlls/gdi32/painting.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/painting.c b/dlls/gdi32/painting.c index 72d8183..77d05c2 100644 --- a/dlls/gdi32/painting.c +++ b/dlls/gdi32/painting.c @@ -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; }