From: Alan Hourihane Date: Wed, 18 Apr 2007 13:18:56 +0000 (+0100) Subject: Shouldn't free the mode here. It's done later on. X-Git-Tag: submit/1.0/20121108.012404~642^2~417 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfc02547ff5f35bfa5cffd6a0dcb56402db59f33;p=profile%2Fivi%2Flibdrm.git Shouldn't free the mode here. It's done later on. --- diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c index 0232552..38d596b 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);