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-Tag: v4.2.6~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a31c06a590f074266458f16ceda14363ea372a01;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 816308643..12b965230 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -1770,6 +1770,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);