summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vf_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vf_parser.c b/src/vf_parser.c
index 0d4e71e..4775a37 100644
--- a/src/vf_parser.c
+++ b/src/vf_parser.c
@@ -569,7 +569,7 @@ bool_t vf_parse_text(
/* handle remainder */
if (p_parse->p_b64rem)
{
- char* newbuf = (char*)vf_malloc(len + p_strlen(p_parse->p_b64rem + 1));
+ char* newbuf = (char*)vf_malloc(len + p_strlen(p_parse->p_b64rem) + 1);
p_strcpy(newbuf, p_parse->p_b64rem);
p_strcat(newbuf, b64buf);