Fixed some memory leaks and uses of uninitialized values
This commit is contained in:
parent
48156cb4bf
commit
0cc326bcc9
12 changed files with 28 additions and 21 deletions
|
|
@ -16,5 +16,5 @@ class EllipseDrawEditTool : public DrawingProgramEditToolBase {
|
|||
private:
|
||||
void commit();
|
||||
|
||||
DrawEllipse::Data oldData;
|
||||
std::optional<DrawEllipse::Data> oldData;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue