From 1d2ac7a7ca720b03365e135d19f101561d4e4b6b Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 19 Apr 2016 12:08:01 +0100 Subject: [PATCH] llvmpipe: Call LLVMShutdown before exiting. So that LLVM frees its globals. Trivial. --- src/gallium/drivers/llvmpipe/lp_test_main.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2