From 0965d886a5a8e2220d4a3c67a81ac65081435651 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 16 Oct 2003 06:06:03 +0000 Subject: untie everything git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/blog/blog.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pttbbs/blog/blog.pl b/pttbbs/blog/blog.pl index db9c4c9d..6b75bc15 100755 --- a/pttbbs/blog/blog.pl +++ b/pttbbs/blog/blog.pl @@ -322,6 +322,11 @@ $comment $tmpl->process($fn, \%th) || print "
template error: ". $tmpl->error();
     $dbh->disconnect() if( $dbh );
+
+    untie %attr if( %attr );
+    untie %config if( %config );
+    untie %article if( %article );
+    undef $tmpl;
 }
 
 sub AddArticle($$$;$)
-- 
cgit v1.2.3