drm: omapdrm: gem: Fix GEM object destroy in error path
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Dec 2015 20:39:39 +0000 (22:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Dec 2015 09:25:45 +0000 (11:25 +0200)
commit74128a237eca99dbca6a8ca47f062b6791441221
tree56deed4b8343620e2fdfa1974299a0e34471f740
parent00e9c7c7002de36dd247745c825d4663c65e0a5b
drm: omapdrm: gem: Fix GEM object destroy in error path

Use the omap_gem_free_object() function to destroy the GEM object in the
omap_gem_new_handle() error path instead of doing it manually (and
incorrectly).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_gem.c
This page took 0.024866 seconds and 5 git commands to generate.