diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-08 13:08:27 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-08 13:08:27 (GMT) |
commit | ae56c60b12daaa5024795686ffc93310f698d7b8 (patch) | |
tree | 07c05de9a7224fa845989238a88bd012be5603e0 /Swift/Controllers/UnitTest | |
parent | 49ecb4179004a209bc699ff6fc58c6ff61047a0b (diff) | |
download | swift-ae56c60b12daaa5024795686ffc93310f698d7b8.zip swift-ae56c60b12daaa5024795686ffc93310f698d7b8.tar.bz2 |
Fixing assorted memory leaks.
Resolves: #329
Diffstat (limited to 'Swift/Controllers/UnitTest')
-rw-r--r-- | Swift/Controllers/UnitTest/NickResolverTest.cpp | 1 | ||||
-rw-r--r-- | Swift/Controllers/UnitTest/RosterControllerTest.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/UnitTest/NickResolverTest.cpp b/Swift/Controllers/UnitTest/NickResolverTest.cpp index f42a28a..1608731 100644 --- a/Swift/Controllers/UnitTest/NickResolverTest.cpp +++ b/Swift/Controllers/UnitTest/NickResolverTest.cpp @@ -51,6 +51,7 @@ class NickResolverTest : public CppUnit::TestFixture { delete stanzaChannel_; delete iqRouter_; delete vCardStorage_; + delete xmppRoster_; } void testMUCNick() { diff --git a/Swift/Controllers/UnitTest/RosterControllerTest.cpp b/Swift/Controllers/UnitTest/RosterControllerTest.cpp index dde48ed..f49ed64 100644 --- a/Swift/Controllers/UnitTest/RosterControllerTest.cpp +++ b/Swift/Controllers/UnitTest/RosterControllerTest.cpp @@ -81,6 +81,7 @@ class RosterControllerTest : public CppUnit::TestFixture delete stanzaChannel_; delete uiEventStream_; delete settings_; + delete xmppRoster_; }; GroupRosterItem* groupChild(size_t i) { |