diff options
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse.y b/src/parse.y index 9af8682c1..afcc5aabc 100644 --- a/src/parse.y +++ b/src/parse.y @@ -3461,9 +3461,8 @@ parse_string(parser_state *p, int term) pushback(p, c); if (toklen(p)) { char msg[128]; - free(s); tokfix(p); - snprintf(msg, sizeof(msg), "unknown regexp option %s - %s", + snprintf(msg, sizeof(msg), "unknown regexp option%s - %s", toklen(p) > 1 ? "s" : "", tok(p)); yyerror(p, msg); } |
