diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-11-06 16:08:12 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-11-06 16:08:12 +0100 |
commit | 4a938cb273e164a475dc123cc80ea6354d7248d4 (patch) | |
tree | 607dad9fb23f1a248a8009758c03115528dde294 /posix/spawn_faction_destroy.c | |
parent | 7597b0c7f711a6918d5804e08508817c72916376 (diff) | |
download | glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar.gz glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar.bz2 glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.zip |
posix: New function posix_spawn_file_actions_addchdir_np [BZ #17405]
Diffstat (limited to 'posix/spawn_faction_destroy.c')
-rw-r--r-- | posix/spawn_faction_destroy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/spawn_faction_destroy.c b/posix/spawn_faction_destroy.c index 2a2de4e41d..05ca9dc13b 100644 --- a/posix/spawn_faction_destroy.c +++ b/posix/spawn_faction_destroy.c @@ -33,6 +33,9 @@ __posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) case spawn_do_open: free (sa->action.open_action.path); break; + case spawn_do_chdir: + free (sa->action.chdir_action.path); + break; case spawn_do_close: case spawn_do_dup2: /* No cleanup required. */ |