Skip to content

Commit

Permalink
nouveau/gsp: free userd allocation.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Jan 5, 2024
1 parent a9b9b42 commit 3108cc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3108cc0

Please sign in to comment.