diff options
| author | Bart Schaefer <schaefer@zsh.org> | 2025-05-09 17:00:33 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@zsh.org> | 2025-05-09 17:00:33 -0700 |
| commit | 1706805d4612d1575da80db64d3d8f2f16e6ed56 (patch) | |
| tree | 6bdb04d60c1e6a4779ecf66363e5fdea68bf312d /Src | |
| parent | 53568: fix additional problems with reference scoping, update documentation (diff) | |
| download | zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.tar zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.tar.gz zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.tar.bz2 zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.tar.lz zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.tar.xz zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.tar.zst zsh-1706805d4612d1575da80db64d3d8f2f16e6ed56.zip | |
unposted: fix bad pointer found by valgrind
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/params.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/params.c b/Src/params.c index b4179a4f4..1a2bf62d2 100644 --- a/Src/params.c +++ b/Src/params.c @@ -5893,6 +5893,7 @@ scanendscope(HashNode hn, UNUSED(int flags)) export_param(pm); } else unsetparam_pm(pm, 0, 0); + pm = NULL; } if (hidden) pm = hidden; |
