virtio-gpu: don't free things on ttm_bo_init failure
ttm_bo_init will call the destroy callback which will do all
this, this was causing a double free.
Signed-off-by: NDave Airlie <airlied@redhat.com>
Showing
想要评论请 注册 或 登录
ttm_bo_init will call the destroy callback which will do all
this, this was causing a double free.
Signed-off-by: NDave Airlie <airlied@redhat.com>