summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/intel_lvds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/intel_lvds.c b/linux-core/intel_lvds.c
index 8ecb204c..ec693275 100644
--- a/linux-core/intel_lvds.c
+++ b/linux-core/intel_lvds.c
@@ -314,7 +314,8 @@ out:
static void intel_lvds_destroy(struct drm_output *output)
{
- drm_output_destroy(output);
+ if (output->driver_private)
+ kfree(output->driver_private);
}
static const struct drm_output_funcs intel_lvds_output_funcs = {