Commit 3e96881e authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

secur32: Don't bother zeroing the handle table in SECUR32_initSchannelSP().

Handles are initialized when they're allocated.
parent 226519ef
...@@ -1386,7 +1386,7 @@ void SECUR32_initSchannelSP(void) ...@@ -1386,7 +1386,7 @@ void SECUR32_initSchannelSP(void)
pgnutls_global_set_log_function(schan_gnutls_log); pgnutls_global_set_log_function(schan_gnutls_log);
} }
schan_handle_table = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, 64 * sizeof(*schan_handle_table)); schan_handle_table = HeapAlloc(GetProcessHeap(), 0, 64 * sizeof(*schan_handle_table));
if (!schan_handle_table) if (!schan_handle_table)
{ {
ERR("Failed to allocate schannel handle table.\n"); ERR("Failed to allocate schannel handle table.\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment