mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-26 13:28:09 +03:00
Fix a memory leak in PageDesignIntf::copy()
This commit is contained in:
parent
010db431b1
commit
3ae754e3dd
@ -1226,6 +1226,8 @@ void PageDesignIntf::copy()
|
|||||||
if (shouldWrite) {
|
if (shouldWrite) {
|
||||||
clipboard->setText(writer->saveToString());
|
clipboard->setText(writer->saveToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete writer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user