Prevent another file descriptor leak
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
689fe36030
commit
b51dd0a84b
@ -787,6 +787,9 @@ void DivelogsDeWebServices::downloadFinished()
|
||||
|
||||
zip_close(zip);
|
||||
zipFile.close();
|
||||
#if defined(Q_OS_UNIX) && defined(LIBZIP_VERSION_MAJOR)
|
||||
::close(duppedfd);
|
||||
#endif
|
||||
}
|
||||
|
||||
void DivelogsDeWebServices::uploadFinished()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user