drm/nouveau/fault/gv100-: fix memory leak on module unload
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
409d659fe1
commit
633cc9beeb
|
@ -146,6 +146,7 @@ nvkm_fault_dtor(struct nvkm_subdev *subdev)
|
|||
struct nvkm_fault *fault = nvkm_fault(subdev);
|
||||
int i;
|
||||
|
||||
nvkm_notify_fini(&fault->nrpfb);
|
||||
nvkm_event_fini(&fault->event);
|
||||
|
||||
for (i = 0; i < fault->buffer_nr; i++) {
|
||||
|
|
Loading…
Reference in New Issue