aboutsummaryrefslogtreecommitdiff
path: root/Src/signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/signals.c')
-rw-r--r--Src/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/signals.c b/Src/signals.c
index 3e655cbfd..f69da0140 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -719,7 +719,7 @@ dotrapargs(int sig, int *sigtr, void *sigfn)
freelinklist(args, (FreeFunc) NULL);
zsfree(name);
} else HEAPALLOC {
- execlist(dupstruct(sigfn), 1, 0);
+ execlist(sigfn, 1, 0);
} LASTALLOC;
if (trapreturn > 0)
trapret = trapreturn;