Skip to content

Commit 3108cc0

Browse files
committed
nouveau/gsp: free userd allocation.
This was being leaked. Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent a9b9b42 commit 3108cc0

File tree

1 file changed

+1
-0
lines changed
  • drivers/gpu/drm/nouveau/nvkm/engine/fifo

1 file changed

+1
-0
lines changed

drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ r535_chan_id_put(struct nvkm_chan *chan)
242242
nvkm_memory_unref(&userd->mem);
243243
nvkm_chid_put(runl->chid, userd->chid, &chan->cgrp->lock);
244244
list_del(&userd->head);
245+
kfree(userd);
245246
}
246247

247248
break;

0 commit comments

Comments
 (0)