From: Brian Date: Sat, 24 Mar 2007 22:43:44 +0000 (-0600) Subject: disable free(var->aux) -- can lead to segfault X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fe342d1e6d3fbd150a1369380a1a4ecf82d6773;p=mesa.git disable free(var->aux) -- can lead to segfault --- 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 }