summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-14 23:59:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-14 23:59:03 -0700
commit55207f2ce58d2ecde6a3274147d3162c987cb510 (patch)
tree6eef0f23e71b4d4585e06cc0dd029846d13bf6eb /txr.c
parent59c77ff3bda8e9b44b67a31ffc4f883e74e7e844 (diff)
downloadtxr-55207f2ce58d2ecde6a3274147d3162c987cb510.tar.gz
txr-55207f2ce58d2ecde6a3274147d3162c987cb510.tar.bz2
txr-55207f2ce58d2ecde6a3274147d3162c987cb510.zip
Fix memory leak in regexes.
* regex.c (nfa_free): The visited marker must be incremented, otherwise nfa_all_states will only collect start and accept.
Diffstat (limited to 'txr.c')
0 files changed, 0 insertions, 0 deletions