gdiplus: Fix a memory leak in GdipCombineRegionRegion.
This commit is contained in:
parent
54eebfe5e5
commit
5304b59184
|
@ -360,6 +360,7 @@ GpStatus WINGDIPAPI GdipCombineRegionRegion(GpRegion *region1,
|
|||
|
||||
delete_element(®ion1->node);
|
||||
memcpy(region1, reg2copy, sizeof(GpRegion));
|
||||
GdipFree(reg2copy);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue