summaryrefslogtreecommitdiffstats
path: root/models/migrations/v39.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v39.go')
-rw-r--r--models/migrations/v39.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/v39.go b/models/migrations/v39.go
index f3b32ea873..dc5f6ee091 100644
--- a/models/migrations/v39.go
+++ b/models/migrations/v39.go
@@ -47,6 +47,7 @@ func releaseAddColumnIsTagAndSyncTags(x *xorm.Engine) error {
if err = models.SyncReleasesWithTags(repo, gitRepo); err != nil {
log.Warn("SyncReleasesWithTags: %v", err)
}
+ gitRepo.Close()
}
if len(repos) < pageSize {
break