mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-18 12:14:28 +08:00
Fixed memory leak in PlaceholderParser::compare_op().
This commit is contained in:
parent
7f7af8d4a0
commit
82a3f1c965
@ -501,6 +501,7 @@ namespace client
|
|||||||
boost::throw_exception(qi::expectation_failure<Iterator>(
|
boost::throw_exception(qi::expectation_failure<Iterator>(
|
||||||
lhs.it_range.begin(), rhs.it_range.end(), spirit::info("*Cannot compare the types.")));
|
lhs.it_range.begin(), rhs.it_range.end(), spirit::info("*Cannot compare the types.")));
|
||||||
}
|
}
|
||||||
|
lhs.reset();
|
||||||
lhs.type = TYPE_BOOL;
|
lhs.type = TYPE_BOOL;
|
||||||
lhs.data.b = invert ? ! value : value;
|
lhs.data.b = invert ? ! value : value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user