[X2Go-Commits] [nx-libs] 02/53: Backport: Drop a reference to user mode after create
git-admin at x2go.org
git-admin at x2go.org
Tue Sep 22 15:10:28 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit f45476100e7d70a51a1513f4d7737addca737bd6
Author: Keith Packard <keithp at keithp.com>
Date: Wed Sep 10 13:11:09 2008 +0800
Backport: Drop a reference to user mode after create
User mode has no customer when create until assigned
to some output.
---
nx-X11/programs/Xserver/randr/rrmode.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/randr/rrmode.c b/nx-X11/programs/Xserver/randr/rrmode.c
index 62c0148..09c0113 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;
}
--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list