Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http server: fix memory leak - spill
  • Loading branch information
perexg committed Jun 13, 2016
1 parent 42ef859 commit 054d542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http.c
Expand Up @@ -1487,6 +1487,7 @@ http_serve_requests(http_connection_t *hc)
error:
free(hdrline);
free(cmdline);
htsbuf_queue_flush(&spill);

free(hc->hc_nonce);
hc->hc_nonce = NULL;
Expand Down

0 comments on commit 054d542

Please sign in to comment.