summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-06-19 07:48:42 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-06-19 07:48:42 (GMT)
commit5d16ce2a51e866aae75b609e40c31c88a5aa4d80 (patch)
treec2cddc19fe34d6c794ca2c9abb2dbe3c060bbd68 /Swiften/LinkLocal
parent76dc2c9991c5a8d6af2dff5247f78dd07599c1ee (diff)
downloadswift-5d16ce2a51e866aae75b609e40c31c88a5aa4d80.zip
swift-5d16ce2a51e866aae75b609e40c31c88a5aa4d80.tar.bz2
Added DNSSDTest.
Diffstat (limited to 'Swiften/LinkLocal')
-rw-r--r--Swiften/LinkLocal/DNSSD/Avahi/AvahiRegisterQuery.h4
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) {