Task #34771
closedAdd missing sql_free_result in alt_doc.php
100%
Description
In the file alt_doc.php there is the function editRegularContentFromId.
This function does not properly free the resource.
if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) { $ecUids=array(); while($ecRec = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) { $ecUids[]=$ecRec['uid']; } $this->editconf['tt_content'][implode(',',$ecUids)]='edit'; }
If accepted I can provide a patch for it:)
Updated by Oliver Hader over 12 years ago
- Status changed from New to Accepted
- PHP Version set to 5.3
Go ahead :)
Fixing hanging record sets is always good...
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9757
Updated by Wouter Wolters over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d0a5a7f85a21cd7ac1ed46b1bda920640c715508.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/9865
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/9866
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9867
Updated by Wouter Wolters over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset ddad96bf4c49e20686c1bb5244d54fd5f69d703f.