Commit 960bdba0 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: fix leak of gart mm node

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment