[PATCH 06/15] drm: Fix memory leak in drm_mode_setcrtc()

2012-03-13 Thread ville.syrj...@linux.intel.com
From: Ville Syrj?l? The mode passed to the .set_config() hook was never freed. The drivers will make a copy of the mode, so simply free it when done. Signed-off-by: Ville Syrj?l? --- drivers/gpu/drm/drm_crtc.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/dri

[PATCH 06/15] drm: Fix memory leak in drm_mode_setcrtc()

2012-03-13 Thread ville . syrjala
From: Ville Syrjälä The mode passed to the .set_config() hook was never freed. The drivers will make a copy of the mode, so simply free it when done. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_crtc.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/dri