diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-09 07:41:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-09 07:42:27 (GMT) |
commit | e528cadc4dd8961301fc84ff9a8b07999b1bf515 (patch) | |
tree | 1cdc5cfd009d305c237322879933bf013c0440de /Swift/Controllers/Chat | |
parent | 96a29813b384ab4abdec5ca9454747a3fc69e85d (diff) | |
download | swift-e528cadc4dd8961301fc84ff9a8b07999b1bf515.zip swift-e528cadc4dd8961301fc84ff9a8b07999b1bf515.tar.bz2 |
Avoid memory leak in Chats Manager Test.
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r-- | Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp index ee6dcbb..d493cf6 100644 --- a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp +++ b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp @@ -76,6 +76,7 @@ public: delete nickResolver_; delete treeWidgetFactory_; delete stanzaChannel_; + delete eventController_; delete iqChannel_; delete iqRouter_; delete mocks_; @@ -199,13 +200,13 @@ public: } /** - Test that a second window isn't unbound where there's already an unbound one. - Bind 1 - Bind 2 - Unbind 1 - Unbind 2 (but it doesn't) - Sent to bound 2 - Rebind 1 + Test that a second window isn't unbound where there's already an unbound one. + Bind 1 + Bind 2 + Unbind 1 + Unbind 2 (but it doesn't) + Sent to bound 2 + Rebind 1 */ void testNoDuplicateUnbind() { JID messageJID1("testling@test.com/resource1"); |