aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 56a4c0b6ca0..a001413cb52 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -756,6 +756,11 @@ lisp_align_malloc (nbytes, type)
756#else 756#else
757 base = malloc (ABLOCKS_BYTES); 757 base = malloc (ABLOCKS_BYTES);
758 abase = ALIGN (base, BLOCK_ALIGN); 758 abase = ALIGN (base, BLOCK_ALIGN);
759 if (base == 0)
760 {
761 UNBLOCK_INPUT;
762 memory_full ();
763 }
759#endif 764#endif
760 765
761 aligned = (base == abase); 766 aligned = (base == abase);