projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524042f
)
llvmpipe: Call LLVMShutdown before exiting.
author
Jose Fonseca
<jfonseca@vmware.com>
Tue, 19 Apr 2016 11:08:01 +0000
(12:08 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Tue, 19 Apr 2016 11:10:09 +0000
(12:10 +0100)
So that LLVM frees its globals.
Trivial.
src/gallium/drivers/llvmpipe/lp_test_main.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_test_main.c
b/src/gallium/drivers/llvmpipe/lp_test_main.c
index 3bcbac3460156d0759bb0b1c58b9b90e468e9166..518ca274e7a31b5c1ee7266dabe95e29a7931cb0 100644
(file)
--- 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;
}