diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2014-09-29 17:52:33 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-09-29 17:52:33 -0700 |
commit | 32473f59a38631c4bb2403d835b9e007c8a0ddc7 (patch) | |
tree | 72df8959fcde37e5968a6c6301f8a98a9f860e5f /Src/signals.c | |
parent | 60e31a45b0c015d42e9dc8ca2c991930c3f7fd66 (diff) | |
parent | 8cb67e721b3f02779bf4cf0d6a368f67c49c11f8 (diff) | |
download | zsh-32473f59a38631c4bb2403d835b9e007c8a0ddc7.tar.gz zsh-32473f59a38631c4bb2403d835b9e007c8a0ddc7.tar.xz zsh-32473f59a38631c4bb2403d835b9e007c8a0ddc7.zip |
Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts: ChangeLog
Diffstat (limited to 'Src/signals.c')
-rw-r--r-- | Src/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/signals.c b/Src/signals.c index 84a2609e5..2df69f96e 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -763,7 +763,7 @@ dosavetrap(int sig, int level) Shfunc shf, newshf = NULL; if ((shf = (Shfunc)gettrapnode(sig, 1))) { /* Copy the node for saving */ - newshf = (Shfunc) zalloc(sizeof(*newshf)); + newshf = (Shfunc) zshcalloc(sizeof(*newshf)); newshf->node.nam = ztrdup(shf->node.nam); newshf->node.flags = shf->node.flags; newshf->funcdef = dupeprog(shf->funcdef, 0); |