mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 22:03:19 -07:00
small fix in memory management logic
This commit is contained in:
parent
05d1458789
commit
141316c372
1 changed files with 2 additions and 1 deletions
|
@ -1208,12 +1208,13 @@ int CmdHFEMVScan(const char *cmd) {
|
|||
// check search and select application id
|
||||
TLVPrintAIDlistFromSelectTLV(tlvSelect);
|
||||
}
|
||||
tlvdb_free(tlvSelect);
|
||||
|
||||
// EMV SELECT application
|
||||
SetAPDULogging(showAPDU);
|
||||
EMVSelectApplication(tlvSelect, AID, &AIDlen);
|
||||
|
||||
tlvdb_free(tlvSelect);
|
||||
|
||||
if (!AIDlen) {
|
||||
PrintAndLog("Can't select AID. EMV AID not found. Exit...");
|
||||
return 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue