(Fcall_process): Close fd_error if successful.
authorRichard M. Stallman <rms@gnu.org>
Sat, 11 May 1996 10:53:17 +0000 (10:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 11 May 1996 10:53:17 +0000 (10:53 +0000)
src/callproc.c

index 5fda6d6..d9c29a0 100644 (file)
@@ -456,6 +456,8 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
     close (filefd);
     if (fd1 >= 0)
       close (fd1);
+    if (fd_error >= 0)
+      close (fd_error);
   }
 
   if (pid < 0)