cvs: php-src(PHP_5_3) /sapi/isapi/stresstest stresstest.cpp
| From: | Felipe Pena | Date: | Fri, 24 Oct 2008 23:16:46 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /sapi/isapi/stresstest stresstest.cpp | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53701@lists.php.net to get a copy of this message | ||
felipe Fri Oct 24 23:16:46 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/sapi/isapi/stresstest stresstest.cpp
Log:
- MFH: Fixed bug #46382 (Mismatching allocation and deallocation in stresstest.cpp) (dvice_null at
yahoo dot com)
http://cvs.php.net/viewvc.cgi/php-src/sapi/isapi/stresstest/stresstest.cpp?r1=1.14&r2=1.14.8.1&diff_format=u
Index: php-src/sapi/isapi/stresstest/stresstest.cpp
diff -u php-src/sapi/isapi/stresstest/stresstest.cpp:1.14
php-src/sapi/isapi/stresstest/stresstest.cpp:1.14.8.1
--- php-src/sapi/isapi/stresstest/stresstest.cpp:1.14 Sat Jan 17 13:00:13 2004
+++ php-src/sapi/isapi/stresstest/stresstest.cpp Fri Oct 24 23:16:46 2008
@@ -271,7 +271,7 @@
for (i=0; i< numThreads; i++) {
CloseHandle(threads[i]);
}
- delete threads;
+ delete [] threads;
}
void DoFileList(const char *filelist, const char *environment)