From: Jaroslav Kysela Date: Mon, 13 Jun 2016 18:16:41 +0000 (+0200) Subject: http server: fix memory leak - spill X-Git-Tag: v4.2.1~427 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054d5422432f446fa06d2e1e036bc8a86794810f;p=thirdparty%2Ftvheadend.git http server: fix memory leak - spill --- diff --git a/src/http.c b/src/http.c index be056ce26..3d5d42740 100644 --- a/src/http.c +++ b/src/http.c @@ -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;