drm/ttm: Fix a sync object leak.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 3 Aug 2009 10:39:06 +0000 (12:39 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2009 03:41:05 +0000 (13:41 +1000)
commitfee280d3fd9bc5247bef9f4ab35a4693bfffdcfd
tree8105956fc8da63d8e5bba0453841ea84e00e5d5b
parentc9b7fb54f0a51e587fa09be3a85666b43d36a850
drm/ttm: Fix a sync object leak.

If there are multiple simultaneous waiters for the same buffer object,
a temporary reference to its sync object may be leaked.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c