diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-24 21:42:44 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-24 21:42:44 (GMT) |
commit | 045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28 (patch) | |
tree | 04049c68e984b596e582cbe4fb91bbd3c1fb57dd /Swiften/LinkLocal/DNSSD/Fake | |
parent | 973ca2197c0f893b3350c48678dba2055d1dee48 (diff) | |
download | swift-045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28.zip swift-045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28.tar.bz2 |
Fix leaks in LinkLocalConnector.
Diffstat (limited to 'Swiften/LinkLocal/DNSSD/Fake')
-rw-r--r-- | Swiften/LinkLocal/DNSSD/Fake/FakeDNSSDQuerier.h | 4 |
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); |