From dfc02547ff5f35bfa5cffd6a0dcb56402db59f33 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Wed, 18 Apr 2007 14:18:56 +0100 Subject: Shouldn't free the mode here. It's done later on. --- linux-core/drm_crtc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'linux-core') 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); -- cgit v1.2.3