summaryrefslogtreecommitdiff
path: root/tests/factor
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-11 19:31:27 +0100
committerJim Meyering <jim@meyering.net>2007-01-11 19:31:27 +0100
commit4e2fd4cca630e887cabf030d926ca21e9d842634 (patch)
tree32510c51c1ce77b71fead6cea9fe093e714b596e /tests/factor
parentc6357f0cabfa46535285d5401cdf28d5d4469670 (diff)
downloadcoreutils-4e2fd4cca630e887cabf030d926ca21e9d842634.tar.xz
Avoid a leak in expr's implementation of the ":" (match) operator.
* src/expr.c (docolon): Free the regexp buffer using regfree, rather than doing it manually, being careful to set fastmap to NULL first. Free any re_regs.start and .end members, if necessary.
Diffstat (limited to 'tests/factor')
0 files changed, 0 insertions, 0 deletions