Commit 633cc9be authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fault/gv100-: fix memory leak on module unload

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 409d659f
......@@ -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++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment