Skip to content
Snippets Groups Projects
Commit eb74c92f authored by murgatroid99's avatar murgatroid99
Browse files

Fix unref of read slice in tcp_uv.c

parent bb8b1c9b
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ typedef struct { ...@@ -80,7 +80,7 @@ typedef struct {
} grpc_tcp; } grpc_tcp;
static void tcp_free(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp) { static void tcp_free(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp) {
grpc_slice_unref(tcp->read_slice); grpc_slice_unref_internal(exec_ctx, tcp->read_slice);
grpc_resource_user_unref(exec_ctx, tcp->resource_user); grpc_resource_user_unref(exec_ctx, tcp->resource_user);
gpr_free(tcp); gpr_free(tcp);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment