From d33e0a18e51ce35b967398a7b6d22a26082de0e9 Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Thu, 14 Aug 2014 17:47:38 +0200
Subject: 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.

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_;
 }
 
-- 
cgit v0.10.2-6-g49f6