diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-14 23:59:03 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-14 23:59:03 -0700 |
commit | 55207f2ce58d2ecde6a3274147d3162c987cb510 (patch) | |
tree | 6eef0f23e71b4d4585e06cc0dd029846d13bf6eb /lib.h | |
parent | 59c77ff3bda8e9b44b67a31ffc4f883e74e7e844 (diff) | |
download | txr-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 'lib.h')
0 files changed, 0 insertions, 0 deletions