mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-07 04:23:52 +00:00
cmd/geth: release iterator in checkStateContent (#35376)
This commit is contained in:
parent
8e77ddbaa0
commit
c6c7ffbbaf
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,7 @@ func checkStateContent(ctx *cli.Context) error {
|
|||
startTime = time.Now()
|
||||
lastLog = time.Now()
|
||||
)
|
||||
defer it.Release()
|
||||
for it.Next() {
|
||||
count++
|
||||
k := it.Key()
|
||||
|
|
|
|||
Loading…
Reference in a new issue