gdiplus: Fix memory leak.

oldstable
Evan Stade 2007-07-25 19:15:20 -07:00 committed by Alexandre Julliard
parent d5a478edfa
commit f52adfd0de
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ static void transform_and_round_points(GpGraphics *graphics, POINT *pti,
GdipCloneMatrix(graphics->worldtrans, &matrix);
GdipScaleMatrix(matrix, unitscale, unitscale, MatrixOrderAppend);
GdipTransformMatrixPoints(matrix, ptf, count);
GdipDeleteMatrix(matrix);
for(i = 0; i < count; i++){
pti[i].x = roundr(ptf[i].X);