gdiplus: Fix leak in widen_dashed_figure.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Vincent Povirk 2017-07-13 13:56:14 -05:00 committed by Alexandre Julliard
parent 7578e09801
commit 9f22041b31
1 changed files with 1 additions and 0 deletions

View File

@ -2187,6 +2187,7 @@ static void widen_dashed_figure(GpPath *path, GpPen *pen, int start, int end,
closed ? LineCapFlat : pen->endcap, pen->customend, last_point);
}
heap_free(dash_pattern_scaled);
heap_free(tmp_points);
}