mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
fix Resource leak
This commit is contained in:
parent
6b625059a3
commit
62f80e798e
2
deps/zlib/contrib/minizip/mztools.c
vendored
2
deps/zlib/contrib/minizip/mztools.c
vendored
@ -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…
Reference in New Issue
Block a user