jean-marc.valin at usherbrooke.ca
Tue Jun 8 18:05:41 PDT 2010
On 10-06-07 06:08 PM, Mike Hooper wrote:
> 3. What confuses me is the following code in modes.c which seems to dictate
> the need for "global_stack" to be non-NULL:
> #if !defined(VAR_ARRAYS)&& !defined(USE_ALLOCA)
> if (global_stack==NULL)
> goto failure;
> Am I misunderstanding something here?
OK, so the error was just that the free() was completely unnecessary
(though not harmful). It's fixed now. The idea of that code is just to
handle the failure to allocate a global stack.
More information about the celt-dev