Mesa (master): llvmpipe: Call LLVMShutdown before exiting.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Apr 19 11:10:30 UTC 2016
Module: Mesa
Branch: master
Commit: 1d2ac7a7ca720b03365e135d19f101561d4e4b6b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d2ac7a7ca720b03365e135d19f101561d4e4b6b
Author: Jose Fonseca <jfonseca at vmware.com>
Date: Tue Apr 19 12:08:01 2016 +0100
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 3bcbac3..518ca27 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;
}
More information about the mesa-commit
mailing list