diff --git a/libcelt/modes.c b/libcelt/modes.c index cba93435..85a87535 100644 --- a/libcelt/modes.c +++ b/libcelt/modes.c @@ -280,10 +280,7 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error) ALLOC_STACK; #if !defined(VAR_ARRAYS) && !defined(USE_ALLOCA) if (global_stack==NULL) - { - celt_free(global_stack); goto failure; - } #endif for (i=0;i