diff --git a/core/AmConfig.cpp b/core/AmConfig.cpp index dd9c2fae..f0c6fd65 100644 --- a/core/AmConfig.cpp +++ b/core/AmConfig.cpp @@ -966,6 +966,7 @@ static bool fillSysIntfList() if(getifaddrs(&ifap) < 0){ ERROR("getifaddrs() failed: %s",strerror(errno)); + close(fd); return false; }