Adds nfc_free() function to freed allocated buffers
Fixes issue 228 (Thanks to Alex Lian)
This commit is contained in:
parent
ffd5928dc6
commit
f8601886fd
4 changed files with 15 additions and 3 deletions
|
|
@ -120,5 +120,5 @@ print_nfc_target(const nfc_target nt, bool verbose)
|
|||
char *s;
|
||||
str_nfc_target(&s, nt, verbose);
|
||||
printf("%s", s);
|
||||
free(s);
|
||||
nfc_free(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue