Commit 046fc19c authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

gdiplus: Fix memory leak in format_string_callback error path.

parent 176e6007
......@@ -881,6 +881,7 @@ static GpStatus format_string_callback(HDC dc,
start = (char *)ph;
if (!ph || !lengthen_path(path, len / sizeof(POINTFX)))
{
heap_free(ph);
status = OutOfMemory;
break;
}
......
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