aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-12-19 23:38:28 +0000
committerDan Nicolaescu2008-12-19 23:38:28 +0000
commit2d2d05d8646bf354d1ad7de83b9b92bda8756c11 (patch)
treece2936107629e4238b5bd0110045491654a8c431 /src
parent6d1921bece9ffb6baa75c9af2e77e05c9e691133 (diff)
downloademacs-2d2d05d8646bf354d1ad7de83b9b92bda8756c11.tar.gz
emacs-2d2d05d8646bf354d1ad7de83b9b92bda8756c11.zip
(system_process_attributes): Close fd when done.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 70a019c39ae..fbd49739377 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -3743,6 +3743,9 @@ system_process_attributes (Lisp_Object pid)
3743 attrs = Fcons (Fcons (Qargs, decoded_cmd), attrs); 3743 attrs = Fcons (Fcons (Qargs, decoded_cmd), attrs);
3744 } 3744 }
3745 3745
3746 if (fd >= 0)
3747 emacs_close (fd);
3748
3746 UNGCPRO; 3749 UNGCPRO;
3747 return attrs; 3750 return attrs;
3748} 3751}