Re: [dpdk-dev] [PATCH] test/telemetry: fix socket resource leak

2020-10-19 Thread Thomas Monjalon
15/10/2020 19:02, Kevin Laatz: > On 13/10/2020 16:56, Ciara Power wrote: > > If an error occurred when reading from the socket, the function > > returned without closing the socket. This is now fixed to avoid the > > resource leak of the sock variable going out of scope. > > > > Fixes: bd78cf693ebd

Re: [dpdk-dev] [PATCH] test/telemetry: fix socket resource leak

2020-10-15 Thread Kevin Laatz
On 13/10/2020 16:56, Ciara Power wrote: If an error occurred when reading from the socket, the function returned without closing the socket. This is now fixed to avoid the resource leak of the sock variable going out of scope. Fixes: bd78cf693ebd ("test/telemetry: add unit tests for data to JSON