aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2017-11-09 10:21:21 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-07 07:20:55 +0100
commit6f9a6aacd70685ae0c468df2441cf77627c3e5ee (patch)
treed4c302ce808161e5b484430e35cf2dd8aaf994b7 /nx-X11/programs
parent4e059d5798f8c0f686c4ef5cec0f6c98ff6d5646 (diff)
downloadnx-libs-6f9a6aacd70685ae0c468df2441cf77627c3e5ee.tar.gz
nx-libs-6f9a6aacd70685ae0c468df2441cf77627c3e5ee.tar.bz2
nx-libs-6f9a6aacd70685ae0c468df2441cf77627c3e5ee.zip
randr: free crtc->outputs on destroy
Backported from X.org: commit fc7fb5bbe1c8f787e53500b9a2ca4af815f310d1 Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com Date: Thu Nov 9 10:21:21 2017 +0100 randr: free crtc->outputs on destroy Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de> Fixes ArcticaProject/nx-libs#558
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/randr/rrcrtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrcrtc.c b/nx-X11/programs/Xserver/randr/rrcrtc.c
index 1305132c0..20ab73c5b 100644
--- a/nx-X11/programs/Xserver/randr/rrcrtc.c
+++ b/nx-X11/programs/Xserver/randr/rrcrtc.c
@@ -769,6 +769,7 @@ RRCrtcDestroyResource(void *value, XID pid)
free(crtc->gammaRed);
if (crtc->mode)
RRModeDestroy(crtc->mode);
+ free(crtc->outputs);
free(crtc);
return 1;
}