diff options
Diffstat (limited to 'src/htsserver.c')
-rw-r--r-- | src/htsserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsserver.c b/src/htsserver.c index 2e840e1..401f131 100644 --- a/src/htsserver.c +++ b/src/htsserver.c @@ -1596,7 +1596,7 @@ static int htslang_load(char *limit_to, const char *path) { /* Add key */ if (strnotempty(intkey)) { const size_t len = strlen(value); - char *const buff = (char *) malloc(len + 2); + char *const buff = (char *) malloc(len + 1); if (buff) { conv_printf(value, buff); inthash_add(NewLangStr, intkey, (intptr_t) buff); |