]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: Free the object ref on error.
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Feb 2009 11:31:41 +0000 (11:31 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:08 +0000 (12:21 +1000)
commit3e49c4f4cf786b70bbc369b99e590de4bebac1b3
tree4805b8adb31570573983c098dd11c307c21381ab
parentad45aa9e6e010283bbd8cf0c6309866233e113f2
drm: Free the object ref on error.

Ensure that the object is unreferenced if we fail to allocate during
drm_gem_flink_ioctl().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_gem.c