]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvr: fix the dvr_rec_subscribe cleanup
authorJaroslav Kysela <perex@perex.cz>
Mon, 22 Oct 2018 07:06:12 +0000 (09:06 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 22 Oct 2018 07:06:12 +0000 (09:06 +0200)
src/dvr/dvr_rec.c

index b7f47220be11f038bcc5bbfdb15732f7d964b9f5..fe1b96a07efa6d14f232d99d2c61bc6f9f5b9fdf 100644 (file)
@@ -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;