]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: Do not leak a new reference for flink() on an existing name
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 14:26:28 +0000 (14:26 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:10 +0000 (12:21 +1000)
commit8d59bae5d9aae10ab230561519bfb97962509bcb
tree0be3a5e9cbb512e6ec933a8e74f59958c7ee8018
parenta35f2e2b83a789e189a501ebd722bc9a1310eb05
drm: Do not leak a new reference for flink() on an existing name

The name table should only hold a single reference, so avoid leaking
additional references for secondary calls to flink().

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