• Philippe Teuwen's avatar
    Fix mem leak in config file parser (opendir) · d7e7abb0
    Philippe Teuwen authored
    This fixes the following leaks:
    
    ==30517== 32,808 bytes in 1 blocks are definitely lost in loss record 11 of 12
    ==30517==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
    ==30517==    by 0x50F4B2A: __alloc_dir (opendir.c:186)
    ==30517==    by 0x4E34998: conf_devices_load.constprop.1 (in /usr/lib/x86_64-linux-gnu/libnfc.so.4.0.0)
    ==30517==    by 0x4E36350: nfc_context_new (in /usr/lib/x86_64-linux-gnu/libnfc.so.4.0.0)
    ==30517==    by 0x4E34D98: nfc_init (in /usr/lib/x86_64-linux-gnu/libnfc.so.4.0.0)
    d7e7abb0
Name
Last commit
Last update
..
buses Loading commit data...
chips Loading commit data...
drivers Loading commit data...
CMakeLists.txt Loading commit data...
Makefile.am Loading commit data...
additional-pages.dox Loading commit data...
conf.c Loading commit data...
conf.h Loading commit data...
drivers.h Loading commit data...
iso14443-subr.c Loading commit data...
iso7816.h Loading commit data...
log-printf.c Loading commit data...
log.c Loading commit data...
log.h Loading commit data...
mirror-subr.c Loading commit data...
mirror-subr.h Loading commit data...
nfc-device.c Loading commit data...
nfc-emulation.c Loading commit data...
nfc-internal.c Loading commit data...
nfc-internal.h Loading commit data...
nfc.c Loading commit data...
target-subr.c Loading commit data...
target-subr.h Loading commit data...