aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 0e48b33882c..596de3af85e 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3358,10 +3358,8 @@ allocate_vectorlike (ptrdiff_t len)
3358 p = allocate_vector_from_block (vroundup (nbytes)); 3358 p = allocate_vector_from_block (vroundup (nbytes));
3359 else 3359 else
3360 { 3360 {
3361 struct large_vector *lv 3361 struct large_vector *lv = lisp_malloc (large_vector_offset + nbytes,
3362 = lisp_malloc ((large_vector_offset + header_size 3362 MEM_TYPE_VECTORLIKE);
3363 + len * word_size),
3364 MEM_TYPE_VECTORLIKE);
3365 lv->next = large_vectors; 3363 lv->next = large_vectors;
3366 large_vectors = lv; 3364 large_vectors = lv;
3367 p = large_vector_vec (lv); 3365 p = large_vector_vec (lv);