diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-28 22:21:23 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-28 22:21:23 +0300 |
commit | 741bf93462919d841ffd7f3ed8c85a202b9dc3f8 (patch) | |
tree | a400d3e2f0b45784a24d703b06d76c882a25bac1 /awk.h | |
parent | 687e6594ca3a6195ef834a5466b5fc7de2de2d7b (diff) | |
download | egawk-741bf93462919d841ffd7f3ed8c85a202b9dc3f8.tar.gz egawk-741bf93462919d841ffd7f3ed8c85a202b9dc3f8.tar.bz2 egawk-741bf93462919d841ffd7f3ed8c85a202b9dc3f8.zip |
Additional memory fixes and test for typedregex.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1764,7 +1764,7 @@ static inline NODE * force_string(NODE *s) { if (s->type == Node_typedregex) - return s->re_exp; + return dupnode(s->re_exp); if ((s->flags & STRCUR) != 0 && (s->stfmt == -1 || s->stfmt == CONVFMTidx) |