summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/etnaviv/etna.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etnaviv/etna.c b/src/etnaviv/etna.c
index a79f4b1..c33527e 100644
--- a/src/etnaviv/etna.c
+++ b/src/etnaviv/etna.c
@@ -362,9 +362,11 @@ int etna_free(struct etna_ctx *ctx)
/* Free command buffers */
for(int x=0; x<NUM_COMMAND_BUFFERS; ++x)
{
+ viv_user_signal_destroy(ctx->conn, ctx->cmdbufi[x].sig_id);
etna_bo_del(ctx->conn, ctx->cmdbufi[x].bo, NULL);
ETNA_FREE(ctx->cmdbuf[x]);
}
+ viv_user_signal_destroy(ctx->conn, ctx->sig_id);
ETNA_FREE(ctx);
return ETNA_OK;
}