zeroconf/Avahi: call dbus_shutdown() during shutdown

Make valgrind happy.
This commit is contained in:
Max Kellermann
2014-06-10 23:00:47 +02:00
parent dfcb572985
commit 31e29e62f4
3 changed files with 5 additions and 29 deletions

View File

@@ -34,6 +34,8 @@
#include <avahi-common/malloc.h>
#include <avahi-common/error.h>
#include <dbus/dbus.h>
static constexpr Domain avahi_domain("avahi");
static char *avahiName;
@@ -272,4 +274,6 @@ AvahiDeinit(void)
avahi_free(avahiName);
avahiName = nullptr;
dbus_shutdown();
}