提交 960bdba0 编写于 作者: B Ben Skeggs

drm/nouveau: fix leak of gart mm node

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 73c337e7
......@@ -868,7 +868,9 @@ nouveau_gart_manager_del(struct ttm_mem_type_manager *man,
nouveau_vm_unmap(&node->tmp_vma);
nouveau_vm_put(&node->tmp_vma);
}
mem->mm_node = NULL;
kfree(node);
}
static int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册