summaryrefslogtreecommitdiff
path: root/lib/regex
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-12-28 21:57:43 -0800
committerOri Bernstein <ori@eigenstate.org>2017-12-28 21:57:43 -0800
commit38483fdfd64a3f069e799c41581f227b3880f0c2 (patch)
tree5b25f0361211d65a660743e28273185c80cfef55 /lib/regex
parent75ddf8edac3ea43fee7b7bdafe9e7799fb3571aa (diff)
downloadmc-38483fdfd64a3f069e799c41581f227b3880f0c2.tar.gz
Minor cleanup.
Diffstat (limited to 'lib/regex')
-rw-r--r--lib/regex/compile.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/regex/compile.myr b/lib/regex/compile.myr
index 3069d27..24cd9cc 100644
--- a/lib/regex/compile.myr
+++ b/lib/regex/compile.myr
@@ -105,6 +105,7 @@ const free = {re
/* all the threads should be dead,
so we shouldn't have to free any*/
std.slfree(re.prog)
+ std.slfree(re.code)
if re.debug
std.htfree(re.astloc)
std.slfree(re.pcidx)