Commit f52adfd0 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Fix memory leak.

parent d5a478ed
......@@ -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);
......
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