1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
This commit is contained in:
William Wennerström 2020-06-28 15:46:31 +02:00
parent 04bfa23ead
commit 362c6973de
No known key found for this signature in database
GPG Key ID: E1382990BEDD319B

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);