Prevent another file descriptor leak

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-03-06 15:08:27 -08:00
parent 689fe36030
commit b51dd0a84b

View file

@ -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()