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 aa78a7ce6..595d26532 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 = s; + tpm->nam = dupstring(s); copyparam(tpm, pm, 1); pm = tpm; } |