parent
f75981c712
commit
68bacfb8d5
|
@ -4161,6 +4161,7 @@ GpStatus WINGDIPAPI GdipGetClip(GpGraphics *graphics, GpRegion *region)
|
||||||
/* free everything except root node and header */
|
/* free everything except root node and header */
|
||||||
delete_element(®ion->node);
|
delete_element(®ion->node);
|
||||||
memcpy(region, clip, sizeof(GpRegion));
|
memcpy(region, clip, sizeof(GpRegion));
|
||||||
|
GdipFree(clip);
|
||||||
|
|
||||||
return Ok;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue