Skip to content

Commit

Permalink
Disable Leaf::clear method to avoid crashes
Browse files Browse the repository at this point in the history
Lets avoid crashes until #4249 is fixed
  • Loading branch information
amtriathlon committed Oct 9, 2022
1 parent 8860d5d commit 82e79fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/DataFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,7 @@ bool Leaf::isNumber(DataFilterRuntime *df, Leaf *leaf)

void Leaf::clear(Leaf *leaf)
{
return; // TODO: fix this function to release memory in all Leaf cases avoiding crashes

switch(leaf->type) {
case Leaf::String : delete leaf->lvalue.s; break;
Expand Down

0 comments on commit 82e79fa

Please sign in to comment.