Module: Mesa
Branch: master
Commit: 1d2ac7a7ca720b03365e135d19f101561d4e4b6b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d2ac7a7ca720b03365e135d19f101561d4e4b6b

Author: Jose Fonseca <[email protected]>
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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to