summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/FileTransfer/UnitTest/IncomingJingleFileTransferTest.cpp11
-rw-r--r--Swiften/FileTransfer/UnitTest/OutgoingJingleFileTransferTest.cpp6
2 files changed, 9 insertions, 8 deletions
diff --git a/Swiften/FileTransfer/UnitTest/IncomingJingleFileTransferTest.cpp b/Swiften/FileTransfer/UnitTest/IncomingJingleFileTransferTest.cpp
index 54d2c88..2fb39bb 100644
--- a/Swiften/FileTransfer/UnitTest/IncomingJingleFileTransferTest.cpp
+++ b/Swiften/FileTransfer/UnitTest/IncomingJingleFileTransferTest.cpp
@@ -89,15 +89,16 @@ public:
void tearDown() {
delete ftTransporterFactory;
- delete networkEnvironment;
- delete natTraverser;
- delete bytestreamServerManager;
delete bytestreamProxy;
- delete serverConnectionFactory;
- delete connectionFactory;
delete timerFactory;
+ delete idGenerator;
+ delete bytestreamServerManager;
+ delete natTraverser;
+ delete networkEnvironment;
delete bytestreamRegistry;
delete iqRouter;
+ delete serverConnectionFactory;
+ delete connectionFactory;
delete stanzaChannel;
delete resolver;
delete eventLoop;
diff --git a/Swiften/FileTransfer/UnitTest/OutgoingJingleFileTransferTest.cpp b/Swiften/FileTransfer/UnitTest/OutgoingJingleFileTransferTest.cpp
index 4b2fb50..f3fe42e 100644
--- a/Swiften/FileTransfer/UnitTest/OutgoingJingleFileTransferTest.cpp
+++ b/Swiften/FileTransfer/UnitTest/OutgoingJingleFileTransferTest.cpp
@@ -135,11 +135,11 @@ public:
void tearDown() {
delete ftTransportFactory;
- delete networkEnvironment;
- delete natTraverser;
- delete bytestreamServerManager;
delete s5bProxy;
delete idGen;
+ delete bytestreamServerManager;
+ delete natTraverser;
+ delete networkEnvironment;
delete s5bRegistry;
delete serverConnectionFactory;
delete connectionFactory;