From 4a2114a717ec8d78cacd8fe158e132d62013faac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 12 Nov 2015 13:32:25 +0900 Subject: Remove duplicate free(output_ids) call Fixes double-free regression introduced by commit 875ad48e ("Simplify drmmode_set_mode_major() and avoid leaking memory."). --- src/drmmode_display.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3