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:
Alyssa Rosenzweig
2024-01-13 16:59:00 -04:00
committed by Marge Bot
parent 877c180677
commit a06b51559b
+2
View File
@@ -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);
}