summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-24 16:43:44 -0600
committerBrian <[email protected]>2007-03-24 16:43:44 -0600
commit9fe342d1e6d3fbd150a1369380a1a4ecf82d6773 (patch)
tree62f716993da60fcdd6edf84735d43c1c95d815b8 /src
parentcfdd07d7d394a2a595a545c0ef81d00dd6156742 (diff)
disable free(var->aux) -- can lead to segfault
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c
index e099ecb067e..9a0b985507d 100644
--- a/src/mesa/shader/slang/slang_compile_variable.c
+++ b/src/mesa/shader/slang/slang_compile_variable.c
@@ -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
}