mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 05:53:46 +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()
|
startTime = time.Now()
|
||||||
lastLog = time.Now()
|
lastLog = time.Now()
|
||||||
)
|
)
|
||||||
|
defer it.Release()
|
||||||
for it.Next() {
|
for it.Next() {
|
||||||
count++
|
count++
|
||||||
k := it.Key()
|
k := it.Key()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue