disable free(var->aux) -- can lead to segfault
authorBrian <brian@nostromo.localnet.net>
Sat, 24 Mar 2007 22:43:44 +0000 (16:43 -0600)
committerBrian <brian@nostromo.localnet.net>
Sat, 24 Mar 2007 22:43:44 +0000 (16:43 -0600)
src/mesa/shader/slang/slang_compile_variable.c

index e099ecb067e27957ab85dc905c573bbc3f8a729f..9a0b985507d02aacc2b931d62e01798f88718d2a 100644 (file)
@@ -272,9 +272,11 @@ slang_variable_destruct(slang_variable * var)
       slang_operation_destruct(var->initializer);
       slang_alloc_free(var->initializer);
    }
+#if 0
    if (var->aux) {
       _mesa_free(var->aux);
    }
+#endif
 }