diff options
Diffstat (limited to 'models/migrations/v82.go')
-rw-r--r-- | models/migrations/v82.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/v82.go b/models/migrations/v82.go index 3fb4b6c59e..2daa86ab07 100644 --- a/models/migrations/v82.go +++ b/models/migrations/v82.go @@ -91,6 +91,7 @@ func fixReleaseSha1OnReleaseTable(x *xorm.Engine) error { if err != nil { return err } + defer gitRepo.Close() gitRepoCache[release.RepoID] = gitRepo } |