Adds nfc_free() function to freed allocated buffers

Fixes issue 228 (Thanks to Alex Lian)
This commit is contained in:
Romuald Conty 2013-02-16 14:20:37 +01:00
parent ffd5928dc6
commit f8601886fd
4 changed files with 15 additions and 3 deletions

View file

@ -131,6 +131,7 @@ extern "C" {
NFC_EXPORT void iso14443a_crc_append(uint8_t *pbtData, size_t szLen);
NFC_EXPORT uint8_t *iso14443a_locate_historical_bytes(uint8_t *pbtAts, size_t szAts, size_t *pszTk);
NFC_EXPORT void nfc_free(void *p);
NFC_EXPORT const char *nfc_version(void);
NFC_EXPORT int nfc_device_get_information_about(nfc_device *pnd, char **buf);