diff --git a/plugins/libzipplugin/libzipplugin.cpp b/plugins/libzipplugin/libzipplugin.cpp index 0a8d153e07e97b4431b7d5bb6ccde0065b6c2705..acaa32f26ccd9efa03f8c3c392bcb60e5b315ca4 100644 --- a/plugins/libzipplugin/libzipplugin.cpp +++ b/plugins/libzipplugin/libzipplugin.cpp @@ -754,7 +754,10 @@ bool LibzipPlugin::extractEntry(zip_t *archive, const QString &entry, const QStr default: // TODO: non-UNIX. break; } - + + // Free libzip file entry from the memory + zip_fclose(zipFile); + // Close extracted file, flush any buffered data file.close(); }