Fix freed memory usage.
This commit is contained in:
parent
0a9a964c17
commit
0119a43208
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ test_mifare_desfire_ev1_aes (void)
|
|||
res = mifare_desfire_select_application (tag, NULL);
|
||||
cut_assert_success ("mifare_desfire_select_application()");
|
||||
|
||||
MifareDESFireKey key = mifare_desfire_aes_key_new (key_data_aes, key_data_aes_version);
|
||||
res = mifare_desfire_authenticate_aes (tag, 0, key);
|
||||
cut_assert_success ("mifare_desfire_authenticate_aes()");
|
||||
mifare_desfire_key_free (key);
|
||||
|
|
Loading…
Reference in a new issue