Merge pull request #6614 from dgquintas/fix_cancel_after_tests_for_reals

Fixes leak in test_cancel_after_client_done & cancel_after_accept
pull/6180/merge
David G. Quintas 9 years ago
commit 52aeb54077
  1. 2
      test/core/end2end/fixtures/proxy.c

@ -282,6 +282,8 @@ static void on_p2s_recv_msg(void *arg, int success) {
err = grpc_call_start_batch(pc->c2p, &op, 1, err = grpc_call_start_batch(pc->c2p, &op, 1,
new_closure(on_c2p_sent_message, pc), NULL); new_closure(on_c2p_sent_message, pc), NULL);
GPR_ASSERT(err == GRPC_CALL_OK); GPR_ASSERT(err == GRPC_CALL_OK);
} else {
grpc_byte_buffer_destroy(pc->p2s_msg);
} }
unrefpc(pc, "on_p2s_recv_msg"); unrefpc(pc, "on_p2s_recv_msg");
} }

Loading…
Cancel
Save