]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
avahi: avahi_strdup should be freed with avahi_free. (#4773).
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Thu, 7 Dec 2017 13:30:49 +0000 (13:30 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 7 Dec 2017 14:05:57 +0000 (15:05 +0100)
Issue: #4773.

src/avahi.c

index 64be541784ffdc14cd9446e4ba6abdc7eec21b2c..df6e00a68ea4616ca4798b9167dd8b0d8a38c075 100644 (file)
@@ -284,7 +284,7 @@ avahi_thread(void *aux)
     }
 
     name = NULL;
-    free(name2);
+    avahi_free(name2);
 
   } while (tvheadend_is_running() && avahi_do_restart);