summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/v3d/v3d_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/v3d/v3d_program.c b/src/gallium/drivers/v3d/v3d_program.c
index b5742b3bb1e..93228b53c5c 100644
--- a/src/gallium/drivers/v3d/v3d_program.c
+++ b/src/gallium/drivers/v3d/v3d_program.c
@@ -681,4 +681,6 @@ v3d_program_fini(struct pipe_context *pctx)
ralloc_free(shader);
_mesa_hash_table_remove(v3d->vs_cache, entry);
}
+
+ v3d_bo_unreference(&v3d->prog.spill_bo);
}