Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
process
/
posix_spawn_file_actions_destroy.c
blob: 3251babb556cae7cd6c81986b286ee7705e8285b [
file
] [
log
] [
blame
]
#include
<spawn.h>
#include
<stdlib.h>
#include
"fdop.h"
int
posix_spawn_file_actions_destroy
(
posix_spawn_file_actions_t
*
fa
)
{
struct
fdop
*
op
=
fa
->
__actions
,
*
next
;
while
(
op
)
{
next
=
op
->
next
;
free
(
op
);
op
=
next
;
}
return
0
;
}