cvs: php-src /sapi/isapi/stresstest stresstest.cpp
| From: | Felipe Pena | Date: | Fri, 24 Oct 2008 23:16:17 +0000 |
| Subject: | cvs: php-src /sapi/isapi/stresstest stresstest.cpp | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53700@lists.php.net to get a copy of this message | ||
felipe Fri Oct 24 23:16:17 2008 UTC
Modified files:
/php-src/sapi/isapi/stresstest stresstest.cpp
Log:
- 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.15&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.15
--- 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:16 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)