From f42bff4c9dc8374205e3581df1ce72fca972dcd1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 12 May 2017 22:25:50 +0000 Subject: bugfix: trivial fdleak in s6-rc-oneshot run. (More to come.) --- src/s6-rc/s6-rc-oneshot-run.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/s6-rc/s6-rc-oneshot-run.c b/src/s6-rc/s6-rc-oneshot-run.c index 01e51ba..6973ab9 100644 --- a/src/s6-rc/s6-rc-oneshot-run.c +++ b/src/s6-rc/s6-rc-oneshot-run.c @@ -59,7 +59,6 @@ int main (int argc, char const *const *argv, char const *const *envp) /* Read the sizes of the compiled db */ - fdcompiled = open_readb(compiled) ; if (!s6rc_db_read_sizes(fdcompiled, &db)) strerr_diefu3sys(111, "read ", compiled, "/n") ; -- cgit v1.2.3