changeset 100575:a6c184e576ae

(system_process_attributes): Close fd when done.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 19 Dec 2008 23:38:28 +0000
parents 6b3d372af944
children 0d5b44d358d4
files src/sysdep.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri Dec 19 23:06:39 2008 +0000
+++ b/src/sysdep.c	Fri Dec 19 23:38:28 2008 +0000
@@ -3743,6 +3743,9 @@
 	  attrs =  Fcons (Fcons (Qargs,  decoded_cmd),  attrs);
     }
 
+  if (fd >= 0)
+    emacs_close (fd);
+
   UNGCPRO;
   return attrs;
 }