From c6f806d4b16a010a27a63352d5e29e55e522098e Mon Sep 17 00:00:00 2001
From: Matthias Hopf <mhopf@suse.de>
Date: Wed, 17 Mar 2010 15:13:51 +0100
Subject: [PATCH] Clear drmmode_output->mode_output in drmmode_output_destroy().
---
src/drmmode_display.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
@@ -817,6 +817,7 @@ drmmode_output_destroy(xf86OutputPtr output)
}
xfree(drmmode_output->props);
drmModeFreeConnector(drmmode_output->mode_output);
+ drmmode_output->mode_output = NULL;
if (drmmode_output->private_data) {
xfree(drmmode_output->private_data);
drmmode_output->private_data = NULL;
--
1.6.0.2