mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
nouveau/gsp: free userd allocation.
This was being leaked. Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-6-airlied@gmail.com
This commit is contained in:
parent
a9b9b42b54
commit
3108cc0323
|
|
@ -242,6 +242,7 @@ r535_chan_id_put(struct nvkm_chan *chan)
|
|||
nvkm_memory_unref(&userd->mem);
|
||||
nvkm_chid_put(runl->chid, userd->chid, &chan->cgrp->lock);
|
||||
list_del(&userd->head);
|
||||
kfree(userd);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user