GHI-599: avoid memory leak with default pattern matching and json formatting

This commit is contained in:
Tim Wojtulewicz 2019-12-13 10:07:51 -07:00
parent e292110bd8
commit 98d1aadb9e
2 changed files with 3 additions and 3 deletions

View file

@ -348,7 +348,7 @@ public:
TableVal* GetRecordFields();
StringVal* ToJSON(bool only_loggable=false, RE_Matcher* re=new RE_Matcher("^_"));
StringVal* ToJSON(bool only_loggable=false, RE_Matcher* re=nullptr);
protected: