aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rfc2047.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc2047.c b/rfc2047.c
index b9c41ab..b3782fb 100644
--- a/rfc2047.c
+++ b/rfc2047.c
@@ -24,7 +24,7 @@ blaze822_decode_qp(char *start, char *stop, char **deco, size_t *decleno)
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1
};
- char *buf = malloc(4 * (stop - start) + 1);
+ char *buf = malloc(stop - start + 1);
if (!buf)
return 0;