diff --git a/src/mdns_avahi.c b/src/mdns_avahi.c index 7e329dfd..cd002d32 100644 --- a/src/mdns_avahi.c +++ b/src/mdns_avahi.c @@ -731,7 +731,7 @@ mdns_deinit(void) free(mb); } - if (mdns_client != NULL) + if (mdns_client) avahi_client_free(mdns_client); }