From 09af58633c2a83b61dee86bcf3794122b101671a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 17 Dec 2013 20:05:57 -0800 Subject: [PATCH] * src/lread.c (openp): Fix previous change (don't leak file descriptors) --- src/lread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lread.c b/src/lread.c index c24af0cf9cd..b8b9189719b 100644 --- a/src/lread.c +++ b/src/lread.c @@ -1634,6 +1634,7 @@ openp (Lisp_Object path, Lisp_Object str, Lisp_Object suffixes, save_mtime = mtime; save_string = string; } + else emacs_close (fd); } else { -- 2.39.2