diff options
author | Eric Anholt <[email protected]> | 2018-07-05 13:30:03 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-05 15:50:52 -0700 |
commit | 6b111313738bb6ec82e7fac9d0be844e62c6e622 (patch) | |
tree | 15c564cdbb6306a9ae8a41c7ba83399b4bce3da8 /src/gallium/drivers/v3d | |
parent | 4b2ba18ff35774eb97a1931cba5bdef0bf4ccba9 (diff) |
v3d: Fix leak of the spill BO on context destruction.
Diffstat (limited to 'src/gallium/drivers/v3d')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_program.c | 2 |
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); } |