summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-04-18 14:18:56 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-04-18 14:18:56 +0100
commitdfc02547ff5f35bfa5cffd6a0dcb56402db59f33 (patch)
tree4cc2f07bc9a0d094de54b1a7cbe095e469bde264 /linux-core
parentb642ced0830d4e91785ba94677abe637c7cb3791 (diff)
Shouldn't free the mode here. It's done later on.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 02325520..38d596ba 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -197,7 +197,6 @@ void drm_crtc_probe_output_modes(struct drm_device *dev, int maxX, int maxY)
drm_mode_probed_add(output, stdmode);
drm_mode_list_concat(&output->probed_modes,
&output->modes);
- drm_crtc_mode_destroy(dev, stdmode);
DRM_DEBUG("Adding standard 640x480 @ 60Hz to %s\n",
output->name);