fixes for minor memory leaks

This commit is contained in:
Chet Ramey
2021-07-19 09:58:33 -04:00
parent 8ede7a904f
commit 6650b4de61
11 changed files with 63 additions and 4 deletions
+1
View File
@@ -2378,6 +2378,7 @@ execute_coproc (command, pipe_in, pipe_out, fds_to_close)
if (legal_identifier (name) == 0)
{
internal_error (_("`%s': not a valid identifier"), name);
free (name);
return (invert ? EXECUTION_SUCCESS : EXECUTION_FAILURE);
}
else