summaryrefslogtreecommitdiffstats
path: root/extra/svn/Redmine.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extra/svn/Redmine.pm')
-rw-r--r--extra/svn/Redmine.pm5
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) {