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-Tag: v4.2.5~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09eb702818f4c77fb27b4150391b7ac92330ebbc;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 64be54178..df6e00a68 100644 --- a/src/avahi.c +++ b/src/avahi.c @@ -284,7 +284,7 @@ avahi_thread(void *aux) } name = NULL; - free(name2); + avahi_free(name2); } while (tvheadend_is_running() && avahi_do_restart);