diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-10-05 07:58:27 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-10-05 07:58:27 -0700 |
commit | 1ffc6d0ef58bd0e6e4e0cb170af8c3325d77b376 (patch) | |
tree | 2df8c8f79f1289c09f6be1cf22240c3268ae4049 /Src | |
parent | 86196843bd8a1d7afc81631881b2e98385e5c4a7 (diff) | |
download | zsh-1ffc6d0ef58bd0e6e4e0cb170af8c3325d77b376.tar.gz zsh-1ffc6d0ef58bd0e6e4e0cb170af8c3325d77b376.tar.xz zsh-1ffc6d0ef58bd0e6e4e0cb170af8c3325d77b376.zip |
52204: fix thinko, unmeta() buffer should not be freed
Diffstat (limited to 'Src')
-rw-r--r-- | Src/parse.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/parse.c b/Src/parse.c index f7285c2ed..c0a1e9f95 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -3421,10 +3421,8 @@ build_dump(char *nam, char *dump, char **files, int ali, int map, int flags) zwarnnam(nam, "can't open file: %s", *files); noaliases = ona; unlink(dump); - zsfree(fnam); return 1; } - zsfree(fnam); file = (char *) zalloc(flen + 1); file[flen] = '\0'; lseek(fd, 0, 0); |