You are right sorry the leak is very local. I think it may still be good to close the fds, in order to avoid future bugs if something there is refactored somewhere else.