diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-27 20:22:11 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-27 20:22:11 (GMT) |
commit | 1bebb9b3b5d19fd5bfcc0621658a79283e2090db (patch) | |
tree | 73caa9fbe77ac7ff00ff6dcad3da1ae857cd656c /Swiften/Roster/UnitTest | |
parent | 2437e403c850c9592fe0fd286398b76d2b27a1b6 (diff) | |
download | swift-1bebb9b3b5d19fd5bfcc0621658a79283e2090db.zip swift-1bebb9b3b5d19fd5bfcc0621658a79283e2090db.tar.bz2 |
Fix destruction order in unit tests.
Diffstat (limited to 'Swiften/Roster/UnitTest')
-rw-r--r-- | Swiften/Roster/UnitTest/XMPPRosterControllerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Roster/UnitTest/XMPPRosterControllerTest.cpp b/Swiften/Roster/UnitTest/XMPPRosterControllerTest.cpp index 17c5527..a8585f1 100644 --- a/Swiften/Roster/UnitTest/XMPPRosterControllerTest.cpp +++ b/Swiften/Roster/UnitTest/XMPPRosterControllerTest.cpp @@ -35,9 +35,9 @@ class XMPPRosterControllerTest : public CppUnit::TestFixture } void tearDown() { - delete channel_; - delete router_; delete xmppRoster_; + delete router_; + delete channel_; } void testAdd() { |