forked from Mirrors/wine-wine
parent
497b67dbf6
commit
55bf97bba7
|
@ -249,6 +249,7 @@ GpStatus WINGDIPAPI GdipCombineRegionPath(GpRegion *region, GpPath *path, Combin
|
||||||
if(mode == CombineModeReplace){
|
if(mode == CombineModeReplace){
|
||||||
delete_element(®ion->node);
|
delete_element(®ion->node);
|
||||||
memcpy(region, path_region, sizeof(GpRegion));
|
memcpy(region, path_region, sizeof(GpRegion));
|
||||||
|
GdipFree(path_region);
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -295,6 +296,7 @@ GpStatus WINGDIPAPI GdipCombineRegionRect(GpRegion *region,
|
||||||
if(mode == CombineModeReplace){
|
if(mode == CombineModeReplace){
|
||||||
delete_element(®ion->node);
|
delete_element(®ion->node);
|
||||||
memcpy(region, rect_region, sizeof(GpRegion));
|
memcpy(region, rect_region, sizeof(GpRegion));
|
||||||
|
GdipFree(rect_region);
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue