Commit 9c9dd22b authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie

nouveau/gsp: always free the alloc messages on r535

Fixes a memory leak seen with kmemleak.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-10-airlied@gmail.com
parent 4ae3a201
......@@ -605,8 +605,7 @@ r535_gsp_rpc_rm_alloc_push(struct nvkm_gsp_object *object, void *argv, u32 repc)
ret = repc ? rpc->params : NULL;
}
if (ret)
nvkm_gsp_rpc_done(gsp, rpc);
nvkm_gsp_rpc_done(gsp, rpc);
return ret;
}
......
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