execute: fix memory leak in lif_execute_fmt_with_result()

This commit is contained in:
Ariadne Conill 2020-07-28 13:53:21 -06:00
parent c97594b89b
commit 21bcbe1017

View file

@ -100,6 +100,8 @@ lif_execute_fmt_with_result(const struct lif_execute_opts *opts, char *buf, size
return false;
}
posix_spawn_file_actions_destroy(&file_actions);
close(pipefds[1]);
struct pollfd pfd = {