blob: 2d5f5b0634cd88a90e9e09c74bb79864a46fe48f [file] [log] [blame]
#include "fdop.h"
#include <spawn.h>
#include <stdlib.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;
}