Formerly function.c.~30~

This commit is contained in:
Roland McGrath 1993-08-11 06:35:19 +00:00
parent b6e638af6d
commit 6d00f337e5

View File

@ -382,9 +382,11 @@ expand_function (o, function, text, end)
/* Free the storage only the child needed. */
free (argv[0]);
free ((char *) argv);
#if 0
for (i = 0; envp[i] != 0; ++i)
free (envp[i]);
free ((char *) envp);
#endif
/* Record the PID for reap_children. */
shell_function_pid = pid;