aboutsummaryrefslogtreecommitdiffstats
path: root/support/dfa.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-01-19 06:08:12 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-01-19 06:08:12 +0200
commit35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28 (patch)
tree6692db22a17c1929753555a1fc44d3a2706c4420 /support/dfa.c
parentf7d8956c4fd8324667060933c2c30112e6c80507 (diff)
downloadegawk-35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28.tar.gz
egawk-35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28.tar.bz2
egawk-35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28.zip
Sync support with GNULIB, fix a dfa memory leak.
Diffstat (limited to 'support/dfa.c')
-rw-r--r--support/dfa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/dfa.c b/support/dfa.c
index eb8e2136..ad5b3a41 100644
--- a/support/dfa.c
+++ b/support/dfa.c
@@ -2309,6 +2309,7 @@ epsclosure (position_set *initial, struct dfa const *d)
replace (initial, i, &d->follows[i], constraint, &tmp);
}
+ free (tmp.elems);
}
/* Returns the set of contexts for which there is at least one