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

Thomas Monjalon thomas at monjalon.net
Mon Oct 19 16:59:06 CEST 2020


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 ("test/telemetry: add unit tests for data to JSON")
> > Coverity issue: 363043
> >
> > Signed-off-by: Ciara Power <ciara.power at intel.com>
> 
> Acked-by: Kevin Laatz <kevin.laatz at intel.com>

Applied, thanks




More information about the dev mailing list