mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Silence valgrind complaint
This commit is contained in:
parent
ccc1cb5fb3
commit
d973acec0d
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ static struct slap_daemon {
|
|||
#define SLAP_SOCK_IS_MUTE(s) (!SLAP_SOCK_IS_READ(s))
|
||||
|
||||
#define SLAP_SOCK_SET_INIT \
|
||||
slap_daemon.sd_epolls = ch_malloc(sizeof(struct epoll_event) * dtblsize * 2); \
|
||||
slap_daemon.sd_epolls = ch_calloc(1, sizeof(struct epoll_event) * dtblsize * 2); \
|
||||
slap_daemon.sd_index = ch_malloc(sizeof(int) * dtblsize); \
|
||||
slap_daemon.sd_epfd = epoll_create( dtblsize ); \
|
||||
for (i=0; i<dtblsize; i++) slap_daemon.sd_index[i] = -1
|
||||
|
|
|
|||
Loading…
Reference in a new issue