Re: [PATCH] Documentation: connector: ucon.c: Cleaning up file resource leak

2014-06-03 Thread Randy Dunlap
On 05/30/2014 04:46 PM, Rickard Strandqvist wrote: > Cleaning up a file resource leak The return (exit) closes all open files, so there is no resource leak. OTOH, if someone were going to add this explicit close, then it should be added in the other exit (return) paths also. Not applied by the

Re: [PATCH] Documentation: connector: ucon.c: Cleaning up file resource leak

2014-06-03 Thread Randy Dunlap
On 05/30/2014 04:46 PM, Rickard Strandqvist wrote: Cleaning up a file resource leak The return (exit) closes all open files, so there is no resource leak. OTOH, if someone were going to add this explicit close, then it should be added in the other exit (return) paths also. Not applied by the

[PATCH] Documentation: connector: ucon.c: Cleaning up file resource leak

2014-05-30 Thread Rickard Strandqvist
Cleaning up a file resource leak Signed-off-by: Rickard Strandqvist --- Documentation/connector/ucon.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/connector/ucon.c b/Documentation/connector/ucon.c index 8a4da64..f09c6de 100644 --- a/Documentation/connector/ucon.c +++

[PATCH] Documentation: connector: ucon.c: Cleaning up file resource leak

2014-05-30 Thread Rickard Strandqvist
Cleaning up a file resource leak Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- Documentation/connector/ucon.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/connector/ucon.c b/Documentation/connector/ucon.c index 8a4da64..f09c6de 100644 ---