mifare-classic-read-ndef now close kindly the output stream.

This commit is contained in:
Romuald Conty 2011-10-11 22:20:38 +00:00
parent 68ef944cd0
commit 060078012f

View file

@ -204,7 +204,7 @@ main(int argc, char *argv[])
error: error:
free (tag_uid); free (tag_uid);
} }
fclose (ndef_stream);
freefare_free_tags (tags); freefare_free_tags (tags);
nfc_disconnect (device); nfc_disconnect (device);
} }