re-enable var scope destruct in slang_operation_destruct()
This commit is contained in:
@@ -60,12 +60,8 @@ 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);
|
||||
/*#define FREE_MEMORY*/
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user