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) | |||
| 3254 | /* eassert (!handling_signal); */ | 3254 | /* eassert (!handling_signal); */ |
| 3255 | 3255 | ||
| 3256 | if (len == 0) | 3256 | if (len == 0) |
| 3257 | return zero_vector; | 3257 | { |
| 3258 | MALLOC_UNBLOCK_INPUT; | ||
| 3259 | return zero_vector; | ||
| 3260 | } | ||
| 3258 | 3261 | ||
| 3259 | nbytes = header_size + len * word_size; | 3262 | nbytes = header_size + len * word_size; |
| 3260 | 3263 | ||