diff options
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -827,7 +827,7 @@ r_make_string(const gawk_api_t *api, /* needed for emalloc */ result->str_value.len = length; if (duplicate) { - emalloc(cp, char *, length + 2, "r_make_string"); + emalloc(cp, char *, length + 1, "r_make_string"); memcpy(cp, string, length); cp[length] = '\0'; result->str_value.str = cp; |