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/UnitTest
parent973ca2197c0f893b3350c48678dba2055d1dee48 (diff)
downloadswift-contrib-045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28.zip
swift-contrib-045fb30399e3c9d74ceb4ebe3dbddc9416c3ce28.tar.bz2
Fix leaks in LinkLocalConnector.
Diffstat (limited to 'Swiften/LinkLocal/UnitTest')
-rw-r--r--Swiften/LinkLocal/UnitTest/LinkLocalConnectorTest.cpp1
-rw-r--r--Swiften/LinkLocal/UnitTest/LinkLocalServiceBrowserTest.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/LinkLocal/UnitTest/LinkLocalConnectorTest.cpp b/Swiften/LinkLocal/UnitTest/LinkLocalConnectorTest.cpp
index 4bd7852..f6fc131 100644
--- a/Swiften/LinkLocal/UnitTest/LinkLocalConnectorTest.cpp
+++ b/Swiften/LinkLocal/UnitTest/LinkLocalConnectorTest.cpp
@@ -36,6 +36,7 @@ class LinkLocalConnectorTest : public CppUnit::TestFixture {
}
void tearDown() {
+ querier->clearAllQueriesEverRun();
delete eventLoop;
}
diff --git a/Swiften/LinkLocal/UnitTest/LinkLocalServiceBrowserTest.cpp b/Swiften/LinkLocal/UnitTest/LinkLocalServiceBrowserTest.cpp
index 4f53931..f4b0034 100644
--- a/Swiften/LinkLocal/UnitTest/LinkLocalServiceBrowserTest.cpp
+++ b/Swiften/LinkLocal/UnitTest/LinkLocalServiceBrowserTest.cpp
@@ -55,6 +55,7 @@ class LinkLocalServiceBrowserTest : public CppUnit::TestFixture {
}
void tearDown() {
+ querier->clearAllQueriesEverRun();
addedServices.clear();
removedServices.clear();
changedServices.clear();