From: jake%bugzilla.org <> Date: Fri, 24 Dec 2004 17:56:30 +0000 (+0000) Subject: Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug() X-Git-Tag: bugzilla-2.19.2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6ad3b4b5a110816ccdfc70df4c643651f0f7561;p=thirdparty%2Fbugzilla.git Bug 261821 - Bugzilla now properly calls 'finish' on the DBI handle in CanSeeBug() Patch by GavinS r=joel, a=justdave --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 5c9b80c072..e664199418 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -290,6 +290,7 @@ sub can_see_bug { $sth->execute($bugid); my ($reporter, $owner, $qacontact, $reporter_access, $cclist_access, $isoncclist, $missinggroup) = $sth->fetchrow_array(); + $sth->finish; $self->{sthCanSeeBug} = $sth; return ( (($reporter == $userid) && $reporter_access) || (Param('useqacontact') && ($qacontact == $userid) && $userid)