aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-04-19 12:08:01 +0100
committerJose Fonseca <[email protected]>2016-04-19 12:10:09 +0100
commit1d2ac7a7ca720b03365e135d19f101561d4e4b6b (patch)
treef11bba8e2e66d1256f474dca394950aab444eee7 /src/gallium/drivers
parent524042fa35d3182227e81baeb295f4cb2ee73530 (diff)
llvmpipe: Call LLVMShutdown before exiting.
So that LLVM frees its globals. Trivial.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_test_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_main.c b/src/gallium/drivers/llvmpipe/lp_test_main.c
index 3bcbac34601..518ca274e7a 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_main.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_main.c
@@ -414,5 +414,7 @@ int main(int argc, char **argv)
if (fp)
fclose(fp);
+ LLVMShutdown();
+
return success ? 0 : 1;
}