Merge pull request #3789 from gogolovefish/master

fix Resource leak
pull/3793/head
Jens Steube 10 months ago committed by GitHub
commit bfa7183370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ uLong* bytesRecovered;
FILE* fpZip = fopen(file, "rb");
FILE* fpOut = fopen(fileOut, "wb");
FILE* fpOutCD = fopen(fileOutTmp, "wb");
if (fpZip != NULL && fpOut != NULL) {
if (fpZip != NULL && fpOut != NULL && fpOutCD !=NULL) {
int entries = 0;
uLong totalBytes = 0;
char header[30];

Loading…
Cancel
Save