]> 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:01:43 +0000 (15:01 +0100)
Issue: #4773.

src/avahi.c

index 55e111de73645f360edf3e27cba159c351769b9a..2a2e51568b7574c9160b080dc79242b79a11f7f3 100644 (file)
@@ -295,7 +295,7 @@ avahi_thread(void *aux)
     }
 
     name = NULL;
-    free(name2);
+    avahi_free(name2);
 
   } while (tvheadend_is_running() && avahi_do_restart);