From: E.Smith <31170571+azlm8t@users.noreply.github.com> Date: Thu, 7 Dec 2017 13:30:49 +0000 (+0000) Subject: avahi: avahi_strdup should be freed with avahi_free. (#4773). X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df43bf0939f54e5a92e8933b16cc663dea2dc7d7;p=thirdparty%2Ftvheadend.git avahi: avahi_strdup should be freed with avahi_free. (#4773). Issue: #4773. --- diff --git a/src/avahi.c b/src/avahi.c index 55e111de7..2a2e51568 100644 --- a/src/avahi.c +++ b/src/avahi.c @@ -295,7 +295,7 @@ avahi_thread(void *aux) } name = NULL; - free(name2); + avahi_free(name2); } while (tvheadend_is_running() && avahi_do_restart);