mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
randr: free crtc->outputs on destroy
Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
This commit is contained in:
committed by
Adam Jackson
parent
16381d186e
commit
fc7fb5bbe1
@@ -878,6 +878,7 @@ RRCrtcDestroyResource(void *value, XID pid)
|
||||
free(crtc->gammaRed);
|
||||
if (crtc->mode)
|
||||
RRModeDestroy(crtc->mode);
|
||||
free(crtc->outputs);
|
||||
free(crtc);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user