commit | 0cfbab6a0b26aaf895d36ecd6fd2a1c5bde83841 | [log] [tgz] |
---|---|---|
author | Marcin Slusarz <marcin.slusarz@gmail.com> | Mon Aug 22 21:17:57 2011 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Aug 29 13:29:15 2011 -0700 |
tree | f5dfb8494b156e28972f8d43b9ac873d6e697df6 | |
parent | 2498959a006e04fb2491e44796a88082dba5923f [diff] |
drm/ttm: fix ttm_bo_add_ttm(user) failure path commit 7c4c3960dff109bc5db4c35da481c212dadb5eb5 upstream. ttm_tt_destroy kfrees passed object, so we need to nullify a reference to it. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>