projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c337e
)
drm/nouveau: fix leak of gart mm node
author
Ben Skeggs
<bskeggs@redhat.com>
Sun, 29 May 2011 23:28:31 +0000
(09:28 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 6 Jun 2011 23:22:51 +0000
(09:22 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_mem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_mem.c
b/drivers/gpu/drm/nouveau/nouveau_mem.c
index 2960f583dc389fac112de1d4ad7ee615a0d6ca31..f9efbbbcdadfcab36e9967e4e3abe1b590fc29ea 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_mem.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_mem.c
@@
-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