elric1/heimdal — comment on commit 83056ef81093189f57f57eef7aca563e77bb35cc
File: lib/roken/simple_exec.c line 156
By nicowilliams:

You really don't want to call pipe() here if you're not going to use the resulting fildes, else we leak them because we don't try to close() or fdopen() them before returning since we have nowhere to return the fdop() result. You can either make sure we close these before returning if we're not outputting them, or better, do like the original code and open the pipes only if we need them.