mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-28 17:31:58 +08:00
Fix a memory leak in placeholder parser
This commit is contained in:
parent
750e374357
commit
f6445eefe3
@ -234,6 +234,7 @@ namespace client
|
|||||||
delete m_data.s;
|
delete m_data.s;
|
||||||
m_type = TYPE_EMPTY;
|
m_type = TYPE_EMPTY;
|
||||||
}
|
}
|
||||||
|
~expr() { reset(); }
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
TYPE_EMPTY = 0,
|
TYPE_EMPTY = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user