Commit 6f9a6aac authored by Giuseppe Bilotta's avatar Giuseppe Bilotta Committed by Mihai Moldovan

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: 's avatarAdam Jackson <ajax@redhat.com> Signed-off-by: 's avatarGiuseppe Bilotta <giuseppe.bilotta@gmail.com> Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de> Fixes ArcticaProject/nx-libs#558
parent 4e059d57
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment