GC check stack.stack != NULL before free.