llvmpipe: Call LLVMShutdown before exiting.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 19 Apr 2016 11:08:01 +0000 (12:08 +0100)
committerJose 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

index 3bcbac3460156d0759bb0b1c58b9b90e468e9166..518ca274e7a31b5c1ee7266dabe95e29a7931cb0 100644 (file)
@@ -414,5 +414,7 @@ int main(int argc, char **argv)
    if (fp)
       fclose(fp);
 
+   LLVMShutdown();
+
    return success ? 0 : 1;
 }