diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-19 07:48:42 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-19 07:48:42 (GMT) |
commit | 5d16ce2a51e866aae75b609e40c31c88a5aa4d80 (patch) | |
tree | c2cddc19fe34d6c794ca2c9abb2dbe3c060bbd68 /Swiften/LinkLocal/DNSSD | |
parent | 76dc2c9991c5a8d6af2dff5247f78dd07599c1ee (diff) | |
download | swift-5d16ce2a51e866aae75b609e40c31c88a5aa4d80.zip swift-5d16ce2a51e866aae75b609e40c31c88a5aa4d80.tar.bz2 |
Added DNSSDTest.
Diffstat (limited to 'Swiften/LinkLocal/DNSSD')
-rw-r--r-- | Swiften/LinkLocal/DNSSD/Avahi/AvahiRegisterQuery.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/DNSSD/Avahi/AvahiRegisterQuery.h b/Swiften/LinkLocal/DNSSD/Avahi/AvahiRegisterQuery.h index 09cb069..2045328 100644 --- a/Swiften/LinkLocal/DNSSD/Avahi/AvahiRegisterQuery.h +++ b/Swiften/LinkLocal/DNSSD/Avahi/AvahiRegisterQuery.h @@ -38,6 +38,10 @@ namespace Swift { } void unregisterService() { + if (group) { + avahi_entry_group_free(group); + group = NULL; + } } void updateServiceInfo(const ByteArray& txtRecord) { |