Re: [dpdk-dev] [PATCH] examples/ip_pipipeline: fix resource leak

2018-04-19 Thread Singh, Jasvinder
> -Original Message- > From: Pattan, Reshma > Sent: Wednesday, April 18, 2018 5:58 PM > To: dev@dpdk.org > Cc: Singh, Jasvinder ; Pattan, Reshma > > Subject: [PATCH] examples/ip_pipipeline: fix resource leak > > Close tap device fd before returning upon failures. > > Coverity issue: 27

[dpdk-dev] [PATCH] examples/ip_pipipeline: fix resource leak

2018-04-18 Thread Reshma Pattan
Close tap device fd before returning upon failures. Coverity issue: 272576 Fixes: 2f74ae28e2 ("examples/ip_pipeline: add tap object") CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- examples/ip_pipeline/tap.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --