execute: fix memory leak in lif_execute_fmt_with_result()
This commit is contained in:
parent
c97594b89b
commit
21bcbe1017
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ lif_execute_fmt_with_result(const struct lif_execute_opts *opts, char *buf, size
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
posix_spawn_file_actions_destroy(&file_actions);
|
||||||
|
|
||||||
close(pipefds[1]);
|
close(pipefds[1]);
|
||||||
|
|
||||||
struct pollfd pfd = {
|
struct pollfd pfd = {
|
||||||
|
|
Loading…
Reference in a new issue