dotnfc / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
1 stars 0 forks source link

missing free() #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some malloc() are not followed by a free()

pn53x-tamashell.c: big memory leak if readline is not used.

All libnfc code should be scrutinized too, just in case...

Original issue reported on code.google.com by yob...@gmail.com on 16 Feb 2013 at 9:52

GoogleCodeExporter commented 9 years ago
pn53x-tamashell.c code is not the easiest to read but didn't have mem leaks.
Libnfc code was fixed regarding malloc()/free() & similars in a few commits:
* 9dcf7378b6d0def9e02c9512afb80a4be8f52b43
* 3d9ebb5044a9fb77ad253a1e20758811013fce0d
* d7e7abb0619a03d63aa41e7fc385345258481cf3
* 07082792151eabbf4670d8e00c5ea149634b40a1
* a6c405a5d57c3f729e0bf8dbbb317aff217b9693
* 1f0b0e5b81e5895c6dcfda8a685293511b895a90
* 999631588da61b95f98e3355a733e1177078a3c1

Original comment by yob...@gmail.com on 3 Mar 2013 at 12:11