diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-01-10 10:17:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-01-10 10:17:27 +0000 |
commit | 1b65a44cfc1ecfb14d004586fa5fffee7d723f2e (patch) | |
tree | ba905a101f6b1e0538e4140431000c736810758e /extra/svn | |
parent | 23508f4f98a3df94395f25ddd75dea05eec1f05d (diff) | |
download | redmine-1b65a44cfc1ecfb14d004586fa5fffee7d723f2e.tar.gz redmine-1b65a44cfc1ecfb14d004586fa5fffee7d723f2e.zip |
Fixes Redmine.pm error "closing dbh with active statement handles at /usr/lib/perl5/Apache/Redmine.pm" (#4205).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3300 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra/svn')
-rw-r--r-- | extra/svn/Redmine.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 1829d2b0b..1b3b0910f 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -244,7 +244,9 @@ sub is_public_project { } } $sth->finish(); + undef $sth; $dbh->disconnect(); + undef $dbh; $ret; } @@ -310,10 +312,13 @@ sub is_member { $ret = 1 if ($ldap->authenticate($redmine_user, $redmine_pass)); } $sthldap->finish(); + undef $sthldap; } } $sth->finish(); + undef $sth; $dbh->disconnect(); + undef $dbh; if ($cfg->{RedmineCacheCredsMax} and $ret) { if (defined $usrprojpass) { |