]> 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:27 +0000 (09:06 +0200)
src/dvr/dvr_rec.c

index ac36a9f42716991f7b53fc1575e6614f505c8602..28a6f9fc102df84acd83b4e5f0f7e28be77a024b 100644 (file)
@@ -67,7 +67,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, c1, c2;
   struct stat st;