mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Prevent another file descriptor leak
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
689fe36030
commit
b51dd0a84b
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue