diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-02-09 15:16:02 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-09 15:16:02 -0500 |
commit | df19ba6a0365d1dc480d5a6ffa9855fdec9910fc (patch) | |
tree | aceb3e312bf05db6fa9d8b365abde79471843953 /event_iocp.c | |
parent | c00416f745955684a9034866c53357e93329b3b3 (diff) | |
parent | 19715a60e28ec2490bbdb45ab36921f5a47fc74d (diff) | |
download | libevent-df19ba6a0365d1dc480d5a6ffa9855fdec9910fc.tar.gz |
Merge remote-tracking branch 'origin/patches-2.0'
Diffstat (limited to 'event_iocp.c')
-rw-r--r-- | event_iocp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/event_iocp.c b/event_iocp.c index 36cb087e..d9610b67 100644 --- a/event_iocp.c +++ b/event_iocp.c @@ -184,7 +184,7 @@ event_iocp_port_launch(int n_cpus) if (n_cpus <= 0) n_cpus = N_CPUS_DEFAULT; port->n_threads = n_cpus * 2; - port->threads = calloc(port->n_threads, sizeof(HANDLE)); + port->threads = mm_calloc(port->n_threads, sizeof(HANDLE)); if (!port->threads) goto err; |