he file descriptor file_descriptor created by calling open(roots_filenames[i].path, O_RDONLY) is not closed at the end of the method, causing a resource leak.
After calling open, to avoid leaks, you must close the descriptor using close(file_descriptor) after the file has been read.
File: https://github.com/grpc/grpc/blob/v1.66.1/src/core/lib/security/security_connector/load_system_roots_supported.cc Line: 125
he file descriptor file_descriptor created by calling open(roots_filenames[i].path, O_RDONLY) is not closed at the end of the method, causing a resource leak.
After calling open, to avoid leaks, you must close the descriptor using close(file_descriptor) after the file has been read.