mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-23 00:31:29 +02:00
52198: put back incorrectly removed zfree()
This commit is contained in:
parent
0f0ba0539e
commit
86196843bd
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2023-10-03 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 52198: Src/input.c: put back incorrectly removed zfree()
|
||||
|
||||
2023-10-01 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 52195: Src/params.c: cached_username is already metafied when
|
||||
|
|
|
@ -632,6 +632,7 @@ zstuff(char **out, const char *fn)
|
|||
if (len && !(fread(buf, len, 1, in))) {
|
||||
zerr("read error on %s", fn);
|
||||
fclose(in);
|
||||
zfree(buf, len + 1);
|
||||
unqueue_signals();
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue