You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an exception is thrown during parsing any memory allocated by the lexer is not deallocated. It's a pretty minor issue as leaked memory is minimal and it only occurs on bad execution paths.
See code parser.cpp:9293
int32_tparseProperty(constchar *str, ParserBuilder *aParserBuilder, const std::string& xpath)
{
utap__scan_string(str); <--- If thrown here
int32_t res = parseProperty(aParserBuilder, xpath);
utap__delete_buffer(YY_CURRENT_BUFFER); <--- cleanup wont be called
return res;
}
The text was updated successfully, but these errors were encountered:
If an exception is thrown during parsing any memory allocated by the lexer is not deallocated. It's a pretty minor issue as leaked memory is minimal and it only occurs on bad execution paths.
See code parser.cpp:9293
The text was updated successfully, but these errors were encountered: