From: Jaroslav Kysela Date: Thu, 4 Jan 2018 20:09:30 +0000 (+0100) Subject: webui: fix the oops in the dvrfile (uninitialized variables), fixes #4827 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d00befe814edea9529b9a4b2a2409d16ce1ba08;p=thirdparty%2Ftvheadend.git webui: fix the oops in the dvrfile (uninitialized variables), fixes #4827 --- diff --git a/src/webui/webui.c b/src/webui/webui.c index 774c78fe3..0f41753cc 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -1790,6 +1790,8 @@ page_dvrfile(http_connection_t *hc, const char *remain, void *opaque) priv.fname = tvh_strdupa(filename); priv.content = muxer_container_filename2mime(priv.fname, 1); priv.charset = de->de_config ? de->de_config->dvr_charset_id : NULL; + priv.tcp_id = NULL; + priv.sub = NULL; pthread_mutex_unlock(&global_lock);