Module: Mesa Branch: master Commit: 6b111313738bb6ec82e7fac9d0be844e62c6e622 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b111313738bb6ec82e7fac9d0be844e62c6e622
Author: Eric Anholt <[email protected]> Date: Thu Jul 5 13:30:03 2018 -0700 v3d: Fix leak of the spill BO on context destruction. --- src/gallium/drivers/v3d/v3d_program.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/v3d/v3d_program.c b/src/gallium/drivers/v3d/v3d_program.c index b5742b3bb1..93228b53c5 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); } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
