OSDN Git Service

Close statement handler in Redmine.pm (#1433).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Jun 2008 09:43:53 +0000 (09:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Jun 2008 09:43:53 +0000 (09:43 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1539 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/svn/Redmine.pm

index e046b94..09a85fb 100644 (file)
@@ -235,6 +235,7 @@ sub is_public_project {
 
     $sth->execute($project_id);
     my $ret = $sth->fetchrow_array ? 1 : 0;
+    $sth->finish();
     $dbh->disconnect();
 
     $ret;