From: Jaroslav Kysela Date: Fri, 8 Apr 2016 15:40:31 +0000 (+0200) Subject: access: fix small memory leak X-Git-Tag: v4.2.1~700 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=979307266d85ad742bd0e376aefb62b412a99908;p=thirdparty%2Ftvheadend.git access: fix small memory leak --- diff --git a/src/access.c b/src/access.c index 2f4d380da..cbd9bb281 100644 --- a/src/access.c +++ b/src/access.c @@ -1012,6 +1012,7 @@ access_entry_destroy(access_entry_t *ae, int delconf) free(ae->ae_comment); free(ae->ae_lang); free(ae->ae_lang_ui); + free(ae->ae_theme); free(ae); } diff --git a/src/http.c b/src/http.c index 295c5ea32..c180066d1 100644 --- a/src/http.c +++ b/src/http.c @@ -1433,7 +1433,7 @@ http_serve_requests(http_connection_t *hc) free(hc->hc_post_data); hc->hc_post_data = NULL; - + http_arg_flush(&hc->hc_args); http_arg_flush(&hc->hc_req_args);