summaryrefslogtreecommitdiff
path: root/vc-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'vc-log.c')
-rw-r--r--vc-log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vc-log.c b/vc-log.c
index 7764dba..e344500 100644
--- a/vc-log.c
+++ b/vc-log.c
@@ -113,6 +113,7 @@ static char *vc_read_str(size_t off) {
}
size_t alloc2 = alloc + (alloc << 2);
+ alloc2 += (-alloc2) % 16;
char *r2 = realloc(r, alloc2);
if(!r2) abort();
r = r2;