drm/edid: drm modes have to be free with drm_mode_destroy
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 1 Feb 2012 10:38:21 +0000 (11:38 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Feb 2012 09:50:08 +0000 (09:50 +0000)
commitaefd330e694d5b7b9657cc53821c7879b14c8128
treebea5795d49431def94832735b5de2751d1f06ac5
parent59ce062ead2a7d114a1e7f505f250eabab9e9d85
drm/edid: drm modes have to be free with drm_mode_destroy

to add the missing drm_mode_object_put for that mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c