Fix freed memory usage.

This commit is contained in:
Romain Tartiere 2010-12-17 22:38:51 +00:00
parent 0a9a964c17
commit 0119a43208

View file

@ -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);