]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Fix an oops and sync object leak.
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 21 Jul 2009 15:45:13 +0000 (17:45 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Jul 2009 05:56:04 +0000 (15:56 +1000)
commit6376ec6f6daf4295fea7ac2ee0522f4ac21e60ce
tree674c1099d98e0a6d441b9cb53d7e872bdf7136a0
parentcf466eb1260d663917c46dadd1c2037c2797b1be
drm/ttm: Fix an oops and sync object leak.

The code was potentially dereferencig a NULL sync object pointer.
At the same time a sync object reference was potentially leaked.

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