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

Fix memory leak

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