gdiplus: Use GdipFree instead of HeapFree to free memory allocated with GdipAlloc.

This commit is contained in:
Dmitry Timoshkov 2013-11-15 18:04:38 +09:00 committed by Alexandre Julliard
parent 4bca12c0db
commit dd545c3e37
1 changed files with 1 additions and 1 deletions

View File

@ -1297,7 +1297,7 @@ static GpStatus transform_region_element(region_element* element, GpMatrix *matr
{
/* Steal the element from the created region. */
memcpy(element, &new_region->node, sizeof(region_element));
HeapFree(GetProcessHeap(), 0, new_region);
GdipFree(new_region);
}
else
return stat;