diff --git a/libnfc/conf.c b/libnfc/conf.c index ca5f801..4e19911 100644 --- a/libnfc/conf.c +++ b/libnfc/conf.c @@ -183,6 +183,7 @@ conf_devices_load(const char *dirname, nfc_context *context) } } } + closedir(d); } void