fix gpr_slice leak in server on connection reset

pull/3063/head
Jan Tattermusch 10 years ago
parent f209c58703
commit a4d9f267fb
  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