summaryrefslogtreecommitdiffstats
path: root/models/migrations/v13.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v13.go')
-rw-r--r--models/migrations/v13.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v13.go b/models/migrations/v13.go
index c9a50a992e..f81271f981 100644
--- a/models/migrations/v13.go
+++ b/models/migrations/v13.go
@@ -23,7 +23,7 @@ func ldapUseSSLToSecurityProtocol(x *xorm.Engine) error {
}
sess := x.NewSession()
- defer sessionRelease(sess)
+ defer sess.Close()
if err = sess.Begin(); err != nil {
return err
}