cmd/geth: release iterator in checkStateContent (#35376)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

This commit is contained in:
0xoasis 2026-08-06 10:32:47 +08:00 committed by GitHub
parent 8e77ddbaa0
commit c6c7ffbbaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()