Fixed memory leak in PlaceholderParser::compare_op().

This commit is contained in:
Lukáš Hejl 2022-01-28 09:40:14 +01:00
parent 7f7af8d4a0
commit 82a3f1c965

View File

@ -501,6 +501,7 @@ namespace client
boost::throw_exception(qi::expectation_failure<Iterator>(
lhs.it_range.begin(), rhs.it_range.end(), spirit::info("*Cannot compare the types.")));
}
lhs.reset();
lhs.type = TYPE_BOOL;
lhs.data.b = invert ? ! value : value;
}