Merge pull request #64 from asmaloney/fix-mem-leak

Fix a memory leak in PageDesignIntf::copy()
This commit is contained in:
fralx 2017-04-10 10:57:25 +03:00 committed by GitHub
commit d9527b07a2

View File

@ -1226,6 +1226,8 @@ void PageDesignIntf::copy()
if (shouldWrite) { if (shouldWrite) {
clipboard->setText(writer->saveToString()); clipboard->setText(writer->saveToString());
} }
delete writer;
} }
} }