diff options
author | Keith Packard <keithp@keithp.com> | 2008-09-10 13:11:09 +0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2015-06-07 00:08:36 +0200 |
commit | f45476100e7d70a51a1513f4d7737addca737bd6 (patch) | |
tree | 5b6800039ff97043c77be814d32e7e8ed78208e0 /nx-X11/programs/Xserver | |
parent | 8fd0b52f20e28759a88e1202716f60e773b11dd3 (diff) | |
download | nx-libs-f45476100e7d70a51a1513f4d7737addca737bd6.tar.gz nx-libs-f45476100e7d70a51a1513f4d7737addca737bd6.tar.bz2 nx-libs-f45476100e7d70a51a1513f4d7737addca737bd6.zip |
Backport: Drop a reference to user mode after create
User mode has no customer when create until assigned
to some output.
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/randr/rrmode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrmode.c b/nx-X11/programs/Xserver/randr/rrmode.c index 62c01485a..09c011350 100644 --- a/nx-X11/programs/Xserver/randr/rrmode.c +++ b/nx-X11/programs/Xserver/randr/rrmode.c @@ -342,7 +342,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; } |