diff options
-rw-r--r-- | src/drmmode_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 0172a2eb..1348e086 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -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; |