ref: 804ca7d4abe311fb94e02c8e1cd56aad8865a959
parent: c191c8825c094e3563094104b80df47c735c95fa
author: Ori Bernstein <[email protected]>
date: Thu Dec 28 05:18:45 EST 2017
Let's be freeing the threads.
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -159,15 +159,15 @@
for thr = re.runq; thr != Zthr; thr = next
next = thr.next
- thrfree(re, thr)
+ std.free(thr)
;;
for thr = re.expired; thr != Zthr; thr = next
next = thr.next
- thrfree(re, thr)
+ std.free(thr)
;;
for thr = re.free; thr != Zthr; thr = next
next = thr.next
- thrfree(re, thr)
+ std.free(thr)
;;
re.runq = Zthr
re.expired = Zthr