[X2Go-Commits] [nx-libs] 97/219: Screen.c: fix two more memleaks of visuals
git-admin at x2go.org
git-admin at x2go.org
Sat Sep 28 12:10:30 CEST 2019
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 bb08043a65ba7e600fafaa3c703915fcb8ad79d4
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Thu Jun 20 01:29:21 2019 +0200
Screen.c: fix two more memleaks of visuals
---
nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 67151733f..6ec4b245f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -1349,6 +1349,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
if (!pFrameBufferBits)
{
freeDepths(depths, numDepths);
+ free(visuals);
return FALSE;
}
@@ -1371,6 +1372,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
monitorResolution, monitorResolution, PixmapBytePad(nxagentOption(RootWidth), rootDepth), bitsPerPixel))
{
freeDepths(depths, numDepths);
+ free(visuals);
return FALSE;
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list