]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
access: fix access_copy() for aa_auth, fixes #5285
authorJaroslav Kysela <perex@perex.cz>
Tue, 23 Oct 2018 08:51:49 +0000 (10:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Oct 2018 08:51:49 +0000 (10:51 +0200)
src/access.c

index ba73c700d3533a10d8758212fd064133efb32142..a9e1990e44c698aa57e8fd5324ef66a690d874b5 100644 (file)
@@ -303,6 +303,8 @@ access_copy(access_t *src)
   }
   if (src->aa_chtags)
     dst->aa_chtags  = htsmsg_copy(src->aa_chtags);
+  if (src->aa_auth)
+    dst->aa_auth = strdup(src->aa_auth);
   return dst;
 }