summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-11-12 13:32:25 +0900
committerMichel Dänzer <michel@daenzer.net>2015-11-12 13:36:16 +0900
commit4a2114a717ec8d78cacd8fe158e132d62013faac (patch)
tree54c6189a78585cd5f8c0a46bafb15876d4eb0c26
parent960a9f37096b53ec9603a99c7b1f3679f915e03f (diff)
Remove duplicate free(output_ids) call
Fixes double-free regression introduced by commit 875ad48e ("Simplify drmmode_set_mode_major() and avoid leaking memory.").
-rw-r--r--src/drmmode_display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 17e52316..99dc08b3 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -788,7 +788,6 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
xf86_reload_cursors(pScrn->pScreen);
done:
- free(output_ids);
if (!ret) {
crtc->x = saved_x;
crtc->y = saved_y;