ID: 46382 Updated by: [EMAIL PROTECTED] Reported By: dvice_null at yahoo dot com -Status: Open +Status: Closed Bug Type: *General Issues Operating System: Error in source code -PHP Version: 6CVS-2008-10-24 (CVS) +PHP Version: 5.2CVS, 5.3CVS, 6CVS-2008-10-24 (CVS) New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-10-24 20:54:37] dvice_null at yahoo dot com Description: ------------ In file sapi/isapi/stresstest/stresstest.cpp:274 HANDLE *threads = new HANDLE[numThreads]; <code removed> delete threads; You allocate memory using [], but you delete the memory without []. This is illegal in C++. If you allocate with [] you should also delete with []. I didn't check if the problem is with earlier versions also. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46382&edit=1
