mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
asahi: plug so target leak
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
e2c5a93358
commit
06cf222830
1 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,10 @@ static void
|
|||
agx_stream_output_target_destroy(struct pipe_context *pctx,
|
||||
struct pipe_stream_output_target *target)
|
||||
{
|
||||
pipe_resource_reference(&target->buffer, NULL);
|
||||
struct agx_streamout_target *tgt = agx_so_target(target);
|
||||
|
||||
pipe_resource_reference(&tgt->base.buffer, NULL);
|
||||
pipe_resource_reference(&tgt->offset, NULL);
|
||||
ralloc_free(target);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue