diff --git a/inc/minr.h b/inc/minr.h index 5b2fb11..586fc2f 100644 --- a/inc/minr.h +++ b/inc/minr.h @@ -29,7 +29,7 @@ #include /* Definitions */ -#define MINR_VERSION "2.5.16" +#define MINR_VERSION "2.5.17" #define FILE_FILES 256 #define MAX_ARG_LEN 1024 #define MIN_FILE_REC_LEN 70 diff --git a/src/mz_deflate.c b/src/mz_deflate.c index d8b6172..9d8ede5 100644 --- a/src/mz_deflate.c +++ b/src/mz_deflate.c @@ -305,7 +305,7 @@ bool mz_extract_handler(struct mz_job *job) } free(actual); - free(job->mz); + //free(job->mz); free(job->data); return true; @@ -326,4 +326,5 @@ void mz_extract(struct mz_job *job) /* Launch extraction */ mz_parse(job, mz_extract_handler); + free(job->mz); } diff --git a/src/wfp.c b/src/wfp.c index 8a1eecd..da2cd1b 100644 --- a/src/wfp.c +++ b/src/wfp.c @@ -77,9 +77,6 @@ void extract_wfp(uint8_t *md5, char *src, uint32_t length, bool check_mz) /* Check if data is too square */ if (too_much_squareness(src)) return; - /* File discrimination check: Unwanted header? */ - if (unwanted_header(src)) return; - /* File discrimination check: Binary? */ uint32_t src_ln = strlen(src);