Commit 8bbbc977 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix BLOCK_INPUT/UNBLOCK_INPUT mismatch in 2012-06-08T08:44:30Z!dmantipov@yandex.ru.

 src/alloc.c (allocate_vectorlike): Fix last change.
parent e9f66fcb
2012-06-08 Eli Zaretskii <eliz@gnu.org>
* alloc.c (allocate_vectorlike): Fix last change.
2012-06-08 Dmitry Antipov <dmantipov@yandex.ru>
Block-based vector allocation of small vectors.
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment