asahi: plug geometry heap 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:
committed by
Marge Bot
parent
877c180677
commit
a06b51559b
@@ -1388,6 +1388,8 @@ agx_destroy_context(struct pipe_context *pctx)
|
||||
drmSyncobjDestroy(dev->fd, ctx->batches.slots[i].syncobj);
|
||||
}
|
||||
|
||||
pipe_resource_reference(&ctx->heap, NULL);
|
||||
|
||||
ralloc_free(ctx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user