Merge pull request #3063 from jtattermusch/windows_server_memory_leak

Fix gpr_slice leak in server on connection reset
pull/3082/head
Craig Tiller 9 years ago
commit 4f5e6f0133
  1. 1
      src/core/iomgr/tcp_windows.c

@ -152,6 +152,7 @@ static void on_read(void *tcpp, int from_iocp) {
gpr_log(GPR_ERROR, "ReadFile overlapped error: %s", utf8_message);
gpr_free(utf8_message);
}
gpr_slice_unref(tcp->read_slice);
status = GRPC_ENDPOINT_CB_ERROR;
} else {
if (info->bytes_transfered != 0) {

Loading…
Cancel
Save