summaryrefslogtreecommitdiff
path: root/contrib/one-true-awk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-06-03 05:25:16 +0000
committerWarner Losh <imp@FreeBSD.org>2019-06-03 05:25:16 +0000
commit31d232c2a3c18fb05e5b2f1ec42872708cbfd27e (patch)
tree8d7b5dfcf14b853d4675c6665605d9e6bbbbc64c /contrib/one-true-awk
parent2d5039db182b096ae9293141aabbc17ca2c69638 (diff)
downloadsrc-test2-31d232c2a3c18fb05e5b2f1ec42872708cbfd27e.tar.gz
src-test2-31d232c2a3c18fb05e5b2f1ec42872708cbfd27e.zip
Notes
Diffstat (limited to 'contrib/one-true-awk')
-rw-r--r--contrib/one-true-awk/run.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/one-true-awk/run.c b/contrib/one-true-awk/run.c
index d74b54ca3445..1859263f7f4b 100644
--- a/contrib/one-true-awk/run.c
+++ b/contrib/one-true-awk/run.c
@@ -1387,9 +1387,6 @@ Cell *split(Node **a, int nnn) /* split(a[0], a[1], a[2]); a[3] is type */
tempfree(y);
free(origs);
free(origfs);
- if (a[2] != NULL && arg3type == STRING) {
- tempfree(x);
- }
x = gettemp();
x->tval = NUM;
x->fval = n;