summaryrefslogtreecommitdiff
path: root/sapi/litespeed
diff options
context:
space:
mode:
authorJulien Pauli <jpauli@php.net>2016-07-11 14:59:24 +0200
committerJulien Pauli <jpauli@php.net>2016-07-11 14:59:24 +0200
commit51e7415575e19b7819cdc24e691ccc58d599cc5c (patch)
treef187d119e1d648ae0420ec89a7c99c8045296990 /sapi/litespeed
parent61a5e2ea746915ea42c22e889c0c644fde32d6ed (diff)
parentfc2c301fe266c0a2e36ffb07fdc6aea6ca1916a3 (diff)
downloadphp-git-51e7415575e19b7819cdc24e691ccc58d599cc5c.tar.gz
Merge branch 'PHP-7.0'
* PHP-7.0: Remove needless zeroing of anonymously mmap'd memory Remove needless zeroing of anonymously mmap'd memory
Diffstat (limited to 'sapi/litespeed')
-rw-r--r--sapi/litespeed/lsapilib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c
index 41a1715d07..125edac9a8 100644
--- a/sapi/litespeed/lsapilib.c
+++ b/sapi/litespeed/lsapilib.c
@@ -2639,7 +2639,6 @@ static int lsapi_init_children_status()
perror( "Anonymous mmap() failed" );
return -1;
}
- memset( pBuf, 0, size );
g_prefork_server->m_pChildrenStatus = (lsapi_child_status *)pBuf;
g_prefork_server->m_pChildrenStatusCur = (lsapi_child_status *)pBuf;
g_prefork_server->m_pChildrenStatusEnd = (lsapi_child_status *)pBuf + size / sizeof( lsapi_child_status );