mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-10 07:01:19 +01:00
unposted: fix memory leak flagged by coverity
This commit is contained in:
parent
86a5278f9f
commit
806d096b0e
2 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2023-03-05 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* unposted: Src/Modules/param_private.c: coverity memory leak
|
||||||
|
|
||||||
2023-02-28 Mikael Magnusson <mikachu@gmail.com>
|
2023-02-28 Mikael Magnusson <mikachu@gmail.com>
|
||||||
|
|
||||||
* 51491: Src/Zle/zle_utils.c: Check should use zlemetacs instead
|
* 51491: Src/Zle/zle_utils.c: Check should use zlemetacs instead
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,7 @@ makeprivate(HashNode hn, UNUSED(int flags))
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
makeprivate_error = 1;
|
makeprivate_error = 1;
|
||||||
|
zfree(gsu, sizeof(struct gsu_closure));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* PM_HIDE so new parameters in deeper scopes do not shadow */
|
/* PM_HIDE so new parameters in deeper scopes do not shadow */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue