drm/i915: refleak along pin() error path.
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 8 Feb 2009 19:08:04 +0000 (19:08 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:09 +0000 (12:21 +1000)
commit96dec61d563fb8dff2c8427fdf85327a95b65c74
treeb514a1367cfa36cc18dd38a4251aae633772cd1a
parentd6873102fd36c577f88174d8bd50f1d51645fc51
drm/i915: refleak along pin() error path.

A missing unreference if the user calls pin() a second time on a pinned
buffer.

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/i915/i915_gem.c