mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
Fix memleak in fpga_compress
This commit is contained in:
parent
19588b045f
commit
eb3f5e12eb
1 changed files with 4 additions and 2 deletions
|
@ -429,9 +429,11 @@ int main(int argc, char **argv) {
|
||||||
return (EXIT_FAILURE);
|
return (EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
return zlib_decompress(infiles[0], outfile);
|
int ret = zlib_decompress(infiles[0], outfile);
|
||||||
|
free(infiles);
|
||||||
|
return (ret);
|
||||||
|
|
||||||
} else { // Compress or gemerate version info
|
} else { // Compress or generate version info
|
||||||
|
|
||||||
bool hardnested_mode = false;
|
bool hardnested_mode = false;
|
||||||
bool generate_version_file = false;
|
bool generate_version_file = false;
|
||||||
|
|
Loading…
Reference in a new issue