From 8c15a67ed31a500e4318bb9a984b6cb0fa409368 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 9 Apr 2009 12:29:37 +0000 Subject: [PATCH] Fix minor leak (it cleans when we close composer) svn path=/branches/kdepim/enterprise/kdepim/; revision=951457 --- recipientseditor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipientseditor.cpp b/recipientseditor.cpp index 62e11b904..8cbd670d5 100644 --- a/recipientseditor.cpp +++ b/recipientseditor.cpp @@ -891,7 +891,8 @@ void RecipientsEditor::saveDistributionList() { DistributionListDialog *dlg = new DistributionListDialog( this ); dlg->setRecipients( mRecipientsView->recipients() ); - dlg->show(); + dlg->exec(); + delete dlg; } Recipient::List RecipientsEditor::recipients() const