* lib/spawn_faction_destroy.c (posix_spawn_file_actions_destroy): Don't
access elements of the wrong union member.
+2020-04-28 Bruno Haible <bruno@clisp.org>
+
+ posix_spawn_file_actions_destroy: Fix a crash (bug from 2019-06-10).
+ * lib/spawn_faction_destroy.c (posix_spawn_file_actions_destroy): Don't
+ access elements of the wrong union member.
+
2020-04-27 Bruno Haible <bruno@clisp.org>
getdate: Remove deprecated module.
switch (sa->tag)
{
case spawn_do_open:
- case spawn_do_chdir:
free (sa->action.open_action.path);
break;
+ case spawn_do_chdir:
+ free (sa->action.chdir_action.path);
+ break;
default:
/* No cleanup required. */
break;