diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_blend.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test_blend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_blend.c b/src/gallium/drivers/llvmpipe/lp_test_blend.c index 70f71fa7844..ec80593baf6 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_blend.c +++ b/src/gallium/drivers/llvmpipe/lp_test_blend.c @@ -458,6 +458,8 @@ test_one(unsigned verbose, blend_test_ptr = (blend_test_ptr_t)gallivm_jit_function(gallivm, func); + gallivm_free_ir(gallivm); + success = TRUE; { @@ -576,8 +578,6 @@ test_one(unsigned verbose, if(fp) write_tsv_row(fp, blend, type, cycles_avg, success); - gallivm_free_function(gallivm, func, blend_test_ptr); - gallivm_destroy(gallivm); return success; |