[2/2] gdiplus: Use GdipFree instead of HeapFree to free memory allocated with GdipAlloc.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Nov 15 03:04:38 CST 2013
---
dlls/gdiplus/region.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/region.c b/dlls/gdiplus/region.c
index 759675a..832ce69 100644
--- a/dlls/gdiplus/region.c
+++ b/dlls/gdiplus/region.c
@@ -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;
--
1.8.4.2
More information about the wine-patches
mailing list