Fix a memory leak in PageDesignIntf::copy()

This commit is contained in:
Andy Maloney 2017-04-08 09:31:02 -04:00
parent 010db431b1
commit 3ae754e3dd

View File

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