]> source.dussan.org Git - gitea.git/commit
services/wiki: Close() after error handling (#27129) (#27137)
authorGiteabot <teabot@gitea.io>
Tue, 19 Sep 2023 15:13:23 +0000 (23:13 +0800)
committerGitHub <noreply@github.com>
Tue, 19 Sep 2023 15:13:23 +0000 (15:13 +0000)
commit882e465c3a4c60a47b9f8a2f58e3cc88c19ed641
tree8ce7374abfda3f3bd70dd4bf472d60471d63cc33
parentb139234fa8d7b9d52f134117bbac7dce53e4914b
services/wiki: Close() after error handling (#27129) (#27137)

Backport #27129 by @earl-warren

Refs: https://codeberg.org/forgejo/forgejo/pulls/1385

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
(cherry picked from commit 589e7d346f51de4a0e2c461b220c8cad34133b2f)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Lars Lehtonen <lars.lehtonen@gmail.com>
services/wiki/wiki_test.go