diff options
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 958da1dbbb0..da2b7ac4330 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -3254,7 +3254,10 @@ allocate_vectorlike (ptrdiff_t len) /* eassert (!handling_signal); */ if (len == 0) - return zero_vector; + { + MALLOC_UNBLOCK_INPUT; + return zero_vector; + } nbytes = header_size + len * word_size; |