Merged in bugfix/PMC-1042 (pull request #7020)

PMC-1042 Memory Leak using PM Function "executeQuery"

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly
2019-08-09 15:56:37 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 2 additions and 1 deletions

View File

@@ -308,6 +308,7 @@ function executeQuery ($SqlStatement, $DBConnectionUID = 'workflow', $aParameter
while ($rs->next()) {
$result[$i ++] = $rs->getRow();
}
$rs->close();
$con->commit();
break;
case preg_match( "/^INSERT\s/i", $statement ):