mercurial/hgweb/hgwebdir_mod.py
changeset 43986 71582c5ad00f
parent 43793 29adf0a087a1
child 44245 bf23d6ee7ec7
--- a/mercurial/hgweb/hgwebdir_mod.py	Fri Dec 27 17:58:17 2019 -0500
+++ b/mercurial/hgweb/hgwebdir_mod.py	Fri Dec 27 18:19:40 2019 -0500
@@ -486,7 +486,7 @@
             )
             return res.sendresponse()
         finally:
-            tmpl = None
+            del tmpl
 
     def makeindex(self, req, res, tmpl, subdir=b""):
         self.refresh()