From 3ae754e3dddecc28b37461f6d0abe873f34f7477 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sat, 8 Apr 2017 09:31:02 -0400 Subject: [PATCH] Fix a memory leak in PageDesignIntf::copy() --- limereport/lrpagedesignintf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/limereport/lrpagedesignintf.cpp b/limereport/lrpagedesignintf.cpp index 2178d43..49d513c 100644 --- a/limereport/lrpagedesignintf.cpp +++ b/limereport/lrpagedesignintf.cpp @@ -1226,6 +1226,8 @@ void PageDesignIntf::copy() if (shouldWrite) { clipboard->setText(writer->saveToString()); } + + delete writer; } }