From 230e45e1120bcb065dc5abca6bceb16ca1266b73 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/pttbbs@1250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- blog/blog.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'blog') diff --git a/blog/blog.pl b/blog/blog.pl index db9c4c9d..6b75bc15 100755 --- a/blog/blog.pl +++ b/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