projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9617757
)
drm/nouveau: fix nouveau_mem object leak
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Thu, 23 Jun 2011 14:35:31 +0000
(16:35 +0200)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sun, 26 Jun 2011 23:20:08 +0000
(09:20 +1000)
It's a regression from "drm/nouveau: create temp vmas for both src and
dst of bo moves".
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
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 765f0e57da78272c2e0a04b3905a59144de011c8..ab79bf8cc83a4dcfb1edb90b632748c96848acfa 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_mem.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_mem.c
@@
-846,8
+846,8
@@
nouveau_gart_manager_del(struct ttm_mem_type_manager *man,
struct ttm_mem_reg *mem)
{
nouveau_mem_node_cleanup(mem->mm_node);
- mem->mm_node = NULL;
kfree(mem->mm_node);
+ mem->mm_node = NULL;
}
static int