summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-08-14 15:47:38 (GMT)
committerSwift Review <review@swift.im>2014-09-18 06:10:56 (GMT)
commitd33e0a18e51ce35b967398a7b6d22a26082de0e9 (patch)
treec404fdc3cc6663d5e0da305f2029eb4dc79114d1 /Swift/QtUI/ChatList
parent5bb5e4eb3024dfba3ae2b5041b90472ee478aebe (diff)
downloadswift-d33e0a18e51ce35b967398a7b6d22a26082de0e9.zip
swift-d33e0a18e51ce35b967398a7b6d22a26082de0e9.tar.bz2
Fix memory leak of mucRecentsMenu_ in QtChatListWindow.
Verified with clang's ASAN on linux. Change-Id: I12cb3f1e672adf35aec8eee9dece3e669af5c2cc License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/QtUI/ChatList')
-rw-r--r--Swift/QtUI/ChatList/QtChatListWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatList/QtChatListWindow.cpp b/Swift/QtUI/ChatList/QtChatListWindow.cpp
index 210124b..8e75f34 100644
--- a/Swift/QtUI/ChatList/QtChatListWindow.cpp
+++ b/Swift/QtUI/ChatList/QtChatListWindow.cpp
@@ -58,6 +58,7 @@ QtChatListWindow::~QtChatListWindow() {
delete model_;
delete delegate_;
delete mucMenu_;
+ delete mucRecentsMenu_;
delete emptyMenu_;
}