From: Jaroslav Kysela Date: Mon, 22 Oct 2018 07:06:12 +0000 (+0200) Subject: dvr: fix the dvr_rec_subscribe cleanup X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3562df520f556efaa3f1fa57e7aa0465a45c13;p=thirdparty%2Ftvheadend.git dvr: fix the dvr_rec_subscribe cleanup --- diff --git a/src/dvr/dvr_rec.c b/src/dvr/dvr_rec.c index b7f47220b..fe1b96a07 100644 --- a/src/dvr/dvr_rec.c +++ b/src/dvr/dvr_rec.c @@ -85,7 +85,7 @@ dvr_rec_subscribe(dvr_entry_t *de) profile_t *pro; profile_chain_t *prch = NULL; struct sockaddr_storage sa; - access_t *aa; + access_t *aa = NULL; uint32_t rec_count, net_count; int ret = 0, pri, c1, c2; struct stat st;