drm/i915: Fix leak of relocs along do_execbuffer error path
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 31 Jan 2010 10:40:48 +0000 (10:40 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 4 Feb 2010 17:04:01 +0000 (09:04 -0800)
Following a gpu hang, we would leak the relocation buffer. So simply
earrange the error path to always free the relocation buffer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found