mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
drm/nouveau: fix obvious memory leak
fdo#104340. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
74a39954a4
commit
4ef9289299
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue