diff options
author | 2016-10-13 14:56:20 -0700 | |
---|---|---|
committer | 2016-10-13 14:56:20 -0700 | |
commit | f635fb90cad8f5dc534afda09fb4eb19f06a6e4a (patch) | |
tree | 9a94def5491fe180038111ae1d6fcd1a31e3949b /src/core/lib | |
parent | d44144c3b2112ed61a21c08331bfe9e18664ceb3 (diff) |
change from malloc to gpr_malloc
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/channel/handshaker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/channel/handshaker.c b/src/core/lib/channel/handshaker.c index 8f9fb17a31..0d759887bc 100644 --- a/src/core/lib/channel/handshaker.c +++ b/src/core/lib/channel/handshaker.c @@ -183,7 +183,7 @@ void grpc_handshake_manager_do_handshake( gpr_timespec deadline, grpc_tcp_server_acceptor* acceptor, grpc_handshaker_done_cb cb, void* user_data) { grpc_channel_args* args_copy = grpc_channel_args_copy(args); - gpr_slice_buffer* read_buffer = malloc(sizeof(*read_buffer)); + gpr_slice_buffer* read_buffer = gpr_malloc(sizeof(*read_buffer)); gpr_slice_buffer_init(read_buffer); if (mgr->count == 0) { // No handshakers registered, so we just immediately call the done |