From: Jaroslav Kysela Date: Sun, 22 Mar 2015 17:01:09 +0000 (+0100) Subject: fix uninitialized error in webui.c, fixes #2725 X-Git-Tag: v4.1~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b548808a78599a31b63027b9dc8ab32b4e3e094;p=thirdparty%2Ftvheadend.git fix uninitialized error in webui.c, fixes #2725 --- diff --git a/src/webui/webui.c b/src/webui/webui.c index 9cff6096f..6e8f3769f 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -805,7 +805,7 @@ http_stream_mux(http_connection_t *hc, mpegts_mux_t *mm, int weight) const char *name, *str; char addrbuf[50]; void *tcp_id; - char *p, *saveptr; + char *p, *saveptr = NULL; mpegts_apids_t pids; mpegts_service_t *ms; int res = HTTP_STATUS_SERVICE, i;