fix: 'hf iclass decrypt' - use after free

This commit is contained in:
iceman1001 2019-03-15 22:07:21 +01:00
parent 48a28fa575
commit 35da3707d3

View file

@ -784,8 +784,8 @@ int CmdHFiClassDecrypt(const char *Cmd) {
}
saveFile(outfilename, "bin", decrypted, fsize);
free(decrypted);
printIclassDumpContents(decrypted, 1, (fsize / 8), fsize);
free(decrypted);
return 0;
}