diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index 595d26532..426d151b5 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -2395,7 +2395,7 @@ save_params(Estate state, Wordcode pc, LinkList *restore_p, LinkList *remove_p) } else if (!(pm->flags & PM_READONLY) && (unset(RESTRICTED) || !(pm->flags & PM_RESTRICTED))) { Param tpm = (Param) zhalloc(sizeof *tpm); - tpm->nam = dupstring(s); + tpm->nam = pm->nam; copyparam(tpm, pm, 1); pm = tpm; } |