[Michał Kulling]
> Coverity mark my changes as resource leak because I'm not assign
> descriptor returned from dup().

No, it mark them as resource leaks because the resources leak.  The
opened file descriptor isn't closed.  I suspect things will fail it it
is closed, so I have not tried to close it.  But I have not
investigated either.

The previous patch made it easier to see in Coverity exactly where
things go wrong, which is why I applied them.  Did you expect them to
get rid of the leak?

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to