Commit c8520ac0 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

mi/miexpose.c: add missing free()

parent 956caeb8
......@@ -757,7 +757,10 @@ int what;
if (screenContext[i] == (GCPtr)NULL)
{
if (!ResType && !(ResType = CreateNewResourceType(tossGC)))
{
free(prect);
return;
}
screenContext[i] = CreateGC((DrawablePtr)pWin, (BITS32) 0,
(XID *)NULL, &status);
if (!screenContext[i])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment