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");
// The temporary ciphertext file should be removed upon closure
// later.
// The temporary ciphertext file should be removed after it has
// been closed.
remove(tmpname);
free(tmpname);