Drop a reference to user mode after create
User mode has no customer when create until assigned to some output.
This commit is contained in:
parent
079625570d
commit
31c62495f1
|
@ -320,7 +320,8 @@ ProcRRCreateMode (ClientPtr client)
|
||||||
swapl(&rep.mode, n);
|
swapl(&rep.mode, n);
|
||||||
}
|
}
|
||||||
WriteToClient(client, sizeof(xRRCreateModeReply), (char *)&rep);
|
WriteToClient(client, sizeof(xRRCreateModeReply), (char *)&rep);
|
||||||
|
/* Drop out reference to this mode */
|
||||||
|
RRModeDestroy (mode);
|
||||||
return client->noClientException;
|
return client->noClientException;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue