mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-15 20:38:10 +02:00
unposted: fix bad pointer found by valgrind
This commit is contained in:
parent
abd541e18c
commit
1706805d46
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
2025-05-09 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* unposted: Src/params.c: fix bad pointer found by valgrind
|
||||
|
||||
* 53568: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Src/params.c,
|
||||
Test/K01nameref.ztst: fix additional problems with references
|
||||
whose referent goes out of scope, add corresponding tests, and
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue