From 9fe342d1e6d3fbd150a1369380a1a4ecf82d6773 Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 24 Mar 2007 16:43:44 -0600 Subject: [PATCH] disable free(var->aux) -- can lead to segfault --- src/mesa/shader/slang/slang_compile_variable.c | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.30.2