v3d: Fix leak of the spill BO on context destruction.

This commit is contained in:
Eric Anholt 2018-07-05 13:30:03 -07:00
parent 4b2ba18ff3
commit 6b11131373

View file

@ -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);
}