This commit is contained in:
William Wennerström
2020-06-28 15:46:31 +02:00
parent 04bfa23ead
commit 362c6973de

View File

@@ -4872,8 +4872,8 @@ cmd_sendfile(ProfWin* window, const char* const command, gchar** args)
} }
FILE *tmpfh = fdopen(tmpfd, "wb"); FILE *tmpfh = fdopen(tmpfd, "wb");
// The temporary ciphertext file should be removed upon closure // The temporary ciphertext file should be removed after it has
// later. // been closed.
remove(tmpname); remove(tmpname);
free(tmpname); free(tmpname);