diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 40fb8a2563..0d6038cbbf 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -141,7 +141,7 @@ func (in *Interpreter) Run(contract *Contract, input []byte) (ret []byte, err er contract.Input = input // Reclaim the stack as an int pool when the execution stops - defer in.intPool.put(stack.data...) + defer func() { in.intPool.put(stack.data...) }() if in.cfg.Debug { defer func() {