mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-01-12 04:41:03 +03:00
Merge pull request #64 from asmaloney/fix-mem-leak
Fix a memory leak in PageDesignIntf::copy()
This commit is contained in:
commit
d9527b07a2
@ -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