Skip to content
Snippets Groups Projects
Commit 3a32f986 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix double-free

parent 0895545a
No related branches found
No related tags found
No related merge requests found
...@@ -842,7 +842,6 @@ static void accept_stream(grpc_exec_ctx *exec_ctx, void *cd, ...@@ -842,7 +842,6 @@ static void accept_stream(grpc_exec_ctx *exec_ctx, void *cd,
grpc_call_stack_element(grpc_call_get_call_stack(call), 0); grpc_call_stack_element(grpc_call_get_call_stack(call), 0);
if (error != GRPC_ERROR_NONE) { if (error != GRPC_ERROR_NONE) {
got_initial_metadata(exec_ctx, elem, error); got_initial_metadata(exec_ctx, elem, error);
GRPC_ERROR_UNREF(error);
return; return;
} }
call_data *calld = elem->call_data; call_data *calld = elem->call_data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment