gdiplus: Fix a memory leak in GdipCombineRegionRegion.

oldstable
Vincent Povirk 2008-12-08 15:16:10 -06:00 committed by Alexandre Julliard
parent 54eebfe5e5
commit 5304b59184
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1,
delete_element(&region1->node);
memcpy(region1, reg2copy, sizeof(GpRegion));
GdipFree(reg2copy);
return Ok;
}