fix coverity 305864, should be released when pointer is nulled

This commit is contained in:
iceman1001 2020-11-13 16:27:29 +01:00
parent d9de790ea0
commit 3afbcaff2f

View file

@ -804,6 +804,7 @@ int trDDA(EMVCommandChannel channel, bool decodeTLV, struct tlvdb *tlv) {
emv_pk_free(pk);
emv_pk_free(issuer_pk);
emv_pk_free(icc_pk);
atc_db = NULL;
return 9;
}
} else {