diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-12 00:58:52 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-12 00:58:52 +0000 |
commit | 93bcd55eafbcf2a49e8963c3475d5a7b1fbc8c53 (patch) | |
tree | 981e9591cd93532e591400b35b595735a6eee0b7 /win32/select.c | |
parent | 3652ab6032819e4854ae607fe8084cd129791983 (diff) | |
download | php-git-93bcd55eafbcf2a49e8963c3475d5a7b1fbc8c53.tar.gz |
emalloc -> safe_emalloc
Diffstat (limited to 'win32/select.c')
-rw-r--r-- | win32/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/select.c b/win32/select.c index f480fb9e6b..54840ac0f7 100644 --- a/win32/select.c +++ b/win32/select.c @@ -50,7 +50,7 @@ PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *e return 0; } - handles = (HANDLE*)emalloc((fd_count + sock_count) * sizeof(HANDLE)); + handles = (HANDLE*)safe_emalloc((fd_count + sock_count), sizeof(HANDLE), 0); /* populate the events and handles arrays */ f = 0; |