Fix Windows build

This commit is contained in:
Dmitri Tikhonov 2020-10-28 08:58:27 -04:00
parent 4429f8ea1e
commit 821ffbba11
1 changed files with 2 additions and 0 deletions

View File

@ -1038,8 +1038,10 @@ http_server_on_close (lsquic_stream_t *stream, lsquic_stream_ctx_t *st_h)
free(st_h->req_path);
if (st_h->reader.lsqr_ctx)
destroy_lsquic_reader_ctx(st_h->reader.lsqr_ctx);
#if HAVE_PREADV
if (s_pwritev)
close(st_h->file_fd);
#endif
if (st_h->req)
interop_server_hset_destroy(st_h->req);
free(st_h);