Unverified Commit f9653af3 authored by Mike Gabriel's avatar Mike Gabriel

Merge branch 'uli42-pr/backported_fixes' into 3.6.x

parents da6b89f7 3a022e35
......@@ -99,7 +99,7 @@ RRModeCreate (xRRModeInfo *modeInfo,
mode->mode.id = FakeClientID(0);
if (!AddResource(mode->mode.id, RRModeType, (pointer) mode)) {
free(newModes);
xfree(newModes);
return NULL;
}
modes = newModes;
......
......@@ -943,12 +943,12 @@ ProcRRSetScreenConfig (ClientPtr client)
if (width < pScrPriv->minWidth || pScrPriv->maxWidth < width) {
client->errorValue = width;
free(pData);
xfree (pData);
return BadValue;
}
if (height < pScrPriv->minHeight || pScrPriv->maxHeight < height) {
client->errorValue = height;
free(pData);
xfree (pData);
return BadValue;
}
......
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