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; ...@@ -757,7 +757,10 @@ int what;
if (screenContext[i] == (GCPtr)NULL) if (screenContext[i] == (GCPtr)NULL)
{ {
if (!ResType && !(ResType = CreateNewResourceType(tossGC))) if (!ResType && !(ResType = CreateNewResourceType(tossGC)))
{
free(prect);
return; return;
}
screenContext[i] = CreateGC((DrawablePtr)pWin, (BITS32) 0, screenContext[i] = CreateGC((DrawablePtr)pWin, (BITS32) 0,
(XID *)NULL, &status); (XID *)NULL, &status);
if (!screenContext[i]) 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