svga: add some const qualifiers
[mesa.git] / src / gallium / drivers / llvmpipe / lp_test_main.c
index d835dbbd62e6868abe99e06dc8d5187b105c9db0..518ca274e7a31b5c1ee7266dabe95e29a7931cb0 100644 (file)
@@ -397,7 +397,7 @@ int main(int argc, char **argv)
    }
 #endif
 
-   if(fp) {
+   if (fp) {
       /* Warm up the caches */
       test_some(0, NULL, 100);
 
@@ -411,8 +411,10 @@ int main(int argc, char **argv)
    else
       success = test_all(verbose, fp);
 
-   if(fp)
+   if (fp)
       fclose(fp);
 
+   LLVMShutdown();
+
    return success ? 0 : 1;
 }