summaryrefslogtreecommitdiff
path: root/pico/composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'pico/composer.c')
-rw-r--r--pico/composer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pico/composer.c b/pico/composer.c
index a20314b5..dcce3b79 100644
--- a/pico/composer.c
+++ b/pico/composer.c
@@ -3665,7 +3665,7 @@ call_builder(struct headerentry *entry, int *mangled, char **err)
sbuflen += (6*term.t_ncol);
line = line->next;
}
-
+ sbuflen++;
if((sbuf=(char *)malloc(sbuflen * sizeof(*sbuf))) == NULL){
emlwrite("Can't malloc space to expand address", NULL);
return(-1);