Skip to content

Commit

Permalink
Fix memory leak in test_frame_rw unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Tikhonov committed Oct 19, 2018
1 parent dee31d5 commit db5f69e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittests/test_frame_rw.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ test_rw (unsigned max_frame_sz)
compare_headers(uh);

lsquic_frame_reader_destroy(fr);
lsquic_http1x_if->hsi_discard_header_set(uh->uh_hset);
free(uh);

assert(stream->sm_max_req_sz >= sizeof(struct http_frame_header));
Expand Down

0 comments on commit db5f69e

Please sign in to comment.