summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2023-06-29 21:08:39 +0000
committerOmar Rizwan <omar@omar.website>2023-06-29 21:08:39 +0000
commitcd88ed198e39cc969fedca8da56eff60fd6c2e0a (patch)
treebbef53252f41c646d5cc2e777d6ab206d1e1c718 /lib
parentREADME updates (diff)
downloadfolk-cd88ed198e39cc969fedca8da56eff60fd6c2e0a.tar.gz
folk-cd88ed198e39cc969fedca8da56eff60fd6c2e0a.zip
Fix minor(?) memory leak
Diffstat (limited to 'lib')
-rw-r--r--lib/evaluator.tcl1
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.