From 31e29e62f48b3fcc8552472a8beb8bd1a5f06d5f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Jun 2014 23:00:47 +0200 Subject: zeroconf/Avahi: call dbus_shutdown() during shutdown Make valgrind happy. --- src/zeroconf/ZeroconfAvahi.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/zeroconf') diff --git a/src/zeroconf/ZeroconfAvahi.cxx b/src/zeroconf/ZeroconfAvahi.cxx index 8cd09cbed..35f3dc9dc 100644 --- a/src/zeroconf/ZeroconfAvahi.cxx +++ b/src/zeroconf/ZeroconfAvahi.cxx @@ -34,6 +34,8 @@ #include #include +#include + static constexpr Domain avahi_domain("avahi"); static char *avahiName; @@ -272,4 +274,6 @@ AvahiDeinit(void) avahi_free(avahiName); avahiName = nullptr; + + dbus_shutdown(); } -- cgit v1.2.3