diff options
| author | Omar Rizwan <omar@omar.website> | 2023-06-29 21:08:39 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2023-06-29 21:08:39 +0000 |
| commit | cd88ed198e39cc969fedca8da56eff60fd6c2e0a (patch) | |
| tree | bbef53252f41c646d5cc2e777d6ab206d1e1c718 /lib | |
| parent | README updates (diff) | |
| download | folk-cd88ed198e39cc969fedca8da56eff60fd6c2e0a.tar.gz folk-cd88ed198e39cc969fedca8da56eff60fd6c2e0a.zip | |
Fix minor(?) memory leak
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/evaluator.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/evaluator.tcl b/lib/evaluator.tcl index f890238b..6d462d09 100644 --- a/lib/evaluator.tcl +++ b/lib/evaluator.tcl @@ -1024,6 +1024,7 @@ namespace eval Evaluator { for (int j = 0; j < results[i]->matchedStatementIdsCount; j++) { parents[parentsCount++] = results[i]->matchedStatementIds[j]; } + ckfree((char *)results[i]); } // Create a new match for the new collection. |
