Fix error object memory leak in continue_receiving_slices()

pull/20585/head
Kuang-che Wu 5 years ago
parent 98abc22f4c
commit 1d08ad60c5
  1. 1
      src/core/lib/surface/call.cc

@ -1267,6 +1267,7 @@ static void continue_receiving_slices(batch_control* bctl) {
*call->receiving_buffer = nullptr; *call->receiving_buffer = nullptr;
call->receiving_message = 0; call->receiving_message = 0;
finish_batch_step(bctl); finish_batch_step(bctl);
GRPC_ERROR_UNREF(error);
return; return;
} }
} else { } else {

Loading…
Cancel
Save