Skip to content

Commit

Permalink
Fix sizeof channel negotiation task (#631)
Browse files Browse the repository at this point in the history
Co-authored-by: Waqar Ahmed Khan <[email protected]>
  • Loading branch information
quinnj and waahm7 authored Mar 11, 2024
1 parent 2de5e86 commit 5afc944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/darwin/secure_transport_tls_channel_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ int aws_tls_client_handler_start_negotiation(struct aws_channel_handler *handler
return s_drive_negotiation(handler);
}

struct aws_channel_task *negotiation_task = aws_mem_acquire(handler->alloc, sizeof(struct aws_task));
struct aws_channel_task *negotiation_task = aws_mem_acquire(handler->alloc, sizeof(struct aws_channel_task));

if (!negotiation_task) {
return AWS_OP_ERR;
Expand Down

0 comments on commit 5afc944

Please sign in to comment.