diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/signals.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Src/signals.c b/Src/signals.c index 0c8aeb22e..50af1b400 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -523,8 +523,10 @@ handler(int sig) if (sigtrapped[SIGALRM]) { int tmout; dotrap(SIGALRM); - if ((tmout = getiparam("TMOUT"))) - alarm(tmout); /* reset the alarm */ + HEAPALLOC { + if ((tmout = getiparam("TMOUT"))) + alarm(tmout); /* reset the alarm */ + } LASTALLOC; } else { int idle = ttyidlegetfn(NULL); int tmout = getiparam("TMOUT"); |