diff options
author | Keith Packard <keithp@keithp.com> | 2009-09-17 18:14:37 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-20 20:45:25 +1000 |
commit | d3a84906c00b8fe4a4e33fa89bff3ed66ceafdec (patch) | |
tree | 66eb11a606ff7b51ef9dc279305055d63ea320ba /randr | |
parent | 6086a6065666fb9ded5d99919ddfa51c66b76246 (diff) |
Free randr crtc and output pointer arrays
All of the crts and outputs were freed, but not the arrays full of
pointers to them.
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'randr')
-rw-r--r-- | randr/randr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/randr.c b/randr/randr.c index 1c1d0c4f2..594456485 100644 --- a/randr/randr.c +++ b/randr/randr.c @@ -98,6 +98,8 @@ RRCloseScreen (int i, ScreenPtr pScreen) for (j = pScrPriv->numOutputs - 1; j >= 0; j--) RROutputDestroy (pScrPriv->outputs[j]); + xfree (pScrPriv->crtcs); + xfree (pScrPriv->outputs); xfree (pScrPriv); RRNScreens -= 1; /* ok, one fewer screen with RandR running */ return (*pScreen->CloseScreen) (i, pScreen); |