summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-24 21:42:44 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-24 21:42:44 (GMT)
commit045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28 (patch)
tree04049c68e984b596e582cbe4fb91bbd3c1fb57dd /Swiften/LinkLocal/DNSSD
parent973ca2197c0f893b3350c48678dba2055d1dee48 (diff)
downloadswift-contrib-045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28.zip
swift-contrib-045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28.tar.bz2
Fix leaks in LinkLocalConnector.
Diffstat (limited to 'Swiften/LinkLocal/DNSSD')
-rw-r--r--Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h b/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h
index ef7af02..f08ab68 100644
--- a/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h
+++ b/Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h
@@ -34,6 +34,10 @@ namespace Swift {
void start() {}
void stop() {}
+ void clearAllQueriesEverRun() {
+ allQueriesEverRun.clear();
+ }
+
boost::shared_ptr<DNSSDBrowseQuery> createBrowseQuery();
boost::shared_ptr<DNSSDRegisterQuery> createRegisterQuery(
const String& name, int port, const ByteArray& info);