diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/alloca.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/alloca.c b/src/alloca.c index 7020f32c882..7061cec2d31 100644 --- a/src/alloca.c +++ b/src/alloca.c | |||
| @@ -209,6 +209,9 @@ alloca (size) | |||
| 209 | register pointer new = malloc (sizeof (header) + size); | 209 | register pointer new = malloc (sizeof (header) + size); |
| 210 | /* Address of header. */ | 210 | /* Address of header. */ |
| 211 | 211 | ||
| 212 | if (new == 0) | ||
| 213 | abort(); | ||
| 214 | |||
| 212 | ((header *) new)->h.next = last_alloca_header; | 215 | ((header *) new)->h.next = last_alloca_header; |
| 213 | ((header *) new)->h.deep = depth; | 216 | ((header *) new)->h.deep = depth; |
| 214 | 217 | ||