diff options
author | Keith Packard <keithp@keithp.com> | 2008-09-10 13:11:09 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-09-10 13:11:09 +0800 |
commit | 31c62495f1de6e9ba41e1f6d7fa263eeb849129b (patch) | |
tree | 0b5651378ccfaf4c8df8d4fb582e341e7ebd0ebf /randr/rrmode.c | |
parent | 079625570d51e41569b73b2fd9237eb8f967f408 (diff) |
Drop a reference to user mode after create
User mode has no customer when create until assigned
to some output.
Diffstat (limited to 'randr/rrmode.c')
-rw-r--r-- | randr/rrmode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/randr/rrmode.c b/randr/rrmode.c index d5072084a..2fa440385 100644 --- a/randr/rrmode.c +++ b/randr/rrmode.c @@ -320,7 +320,8 @@ ProcRRCreateMode (ClientPtr client) swapl(&rep.mode, n); } WriteToClient(client, sizeof(xRRCreateModeReply), (char *)&rep); - + /* Drop out reference to this mode */ + RRModeDestroy (mode); return client->noClientException; } |