diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-11-23 20:51:20 +0100 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-11-24 05:24:56 -0700 |
| commit | 5aaf2082445032b5c0f49346a81453074d384cb3 (patch) | |
| tree | e1a2e50c9e41044eaa7cfba25ec8666bf0c08bb3 | |
| parent | a730d3433ff0afc517eae8ddf4cd80997a9cd2a1 (diff) | |
| download | vis-5aaf2082445032b5c0f49346a81453074d384cb3.tar.gz vis-5aaf2082445032b5c0f49346a81453074d384cb3.tar.xz | |
text-io: do not free the temporary file name before unlinking the file
| -rw-r--r-- | text-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -327,8 +327,6 @@ err: if (ctx->fd != -1) close(ctx->fd); ctx->fd = -1; - free(ctx->tmpname); - ctx->tmpname = NULL; errno = saved_errno; return false; } |
