xantares / nfc-bindings

scripting language bindings for libnfc
BSD 3-Clause "New" or "Revised" License
23 stars 9 forks source link

Memory leak in nfc.initiator_list_passive_targets #14

Closed regnarg closed 2 years ago

regnarg commented 2 years ago

initiator_list_passive_targets allocates a buffer using calloc that never gets free'd (in fact, the reference to it gets dropped).

regnarg commented 2 years ago

It seems there may be many other memory leaks

xantares commented 2 years ago

fixed in #15