mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-22 20:42:03 -08:00
coverity fix 1435189 Double close
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19259820&defectInstanceId=4445788&mergedDefectId=1435189
This commit is contained in:
parent
29ad64adb7
commit
e688ca4058
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ si_spawn_subprocess(cl_object command, cl_object argv, cl_object environ,
|
|||
}
|
||||
close(child_stdin);
|
||||
close(child_stdout);
|
||||
close(child_stderr);
|
||||
if (!(error == @':output')) close(child_stderr);
|
||||
|
||||
if (child_pid < 0) {
|
||||
pid = ECL_NIL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue