Re: [Linuxptp-devel] [PATCH] lstab: Close file after reading.

2021-08-04 Thread Richard Cochran
On Tue, Jul 20, 2021 at 11:48:56AM +0200, Miroslav Lichvar wrote: > The lstab_read() function opens a file, but doesn't close it after use. > > Signed-off-by: Miroslav Lichvar Applied. Thanks, Richard ___ Linuxptp-devel mailing list Linuxptp-devel@l

[Linuxptp-devel] [PATCH] lstab: Close file after reading.

2021-07-20 Thread Miroslav Lichvar
The lstab_read() function opens a file, but doesn't close it after use. Signed-off-by: Miroslav Lichvar --- lstab.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lstab.c b/lstab.c index e6e7ad2..0d6a427 100644 --- a/lstab.c +++ b/lstab.c @@ -144,6 +144,7 @@ static int lstab_read(struct lst