temporary disable some memory deallocations to work around a memory corruption bug
authorBrian <brian@yutani.localnet.net>
Thu, 4 Jan 2007 21:38:45 +0000 (14:38 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 4 Jan 2007 21:38:45 +0000 (14:38 -0700)
src/mesa/shader/slang/slang_compile_operation.c

index 28d9fdf..c16ec7f 100644 (file)
@@ -60,8 +60,11 @@ slang_operation_destruct(slang_operation * oper)
    for (i = 0; i < oper->num_children; i++)
       slang_operation_destruct(oper->children + i);
    slang_alloc_free(oper->children);
+#ifdef FREE_MEMORY
+   /* XXX revisit and fix memory coruption here ! */
    slang_variable_scope_destruct(oper->locals);
    slang_alloc_free(oper->locals);
+#endif
    oper->children = NULL;
    oper->num_children = 0;
    oper->locals = NULL;