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:
74a3995
)
drm/nouveau: fix obvious memory leak
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 19 Dec 2017 22:38:46 +0000
(08:38 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 19 Dec 2017 22:40:36 +0000
(08:40 +1000)
fdo#104340.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_vmm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_vmm.c
b/drivers/gpu/drm/nouveau/nouveau_vmm.c
index 9e2628dd8e4d6734c2d7c5d073012bbb95b4fa4c..f5371d96b003c23cac9e1f34cf3deca3b54b06a6 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_vmm.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_vmm.c
@@
-67,8
+67,8
@@
nouveau_vma_del(struct nouveau_vma **pvma)
nvif_vmm_put(&vma->vmm->vmm, &tmp);
}
list_del(&vma->head);
- *pvma = NULL;
kfree(*pvma);
+ *pvma = NULL;
}
}