[dpdk-dev] [PATCH] af_packet: Fix some klocwork errors

2015-02-26 Thread Ouyang Changchun
Fix possible memory leak issue: free kvlist before return; Fix possible resource lost issue: close qssockfd before return; Signed-off-by: Changchun Ouyang --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/librte_p

[dpdk-dev] [PATCH] af_packet: Fix some klocwork errors

2015-02-26 Thread Pawel Wodkowski
On 2015-02-26 07:42, Ouyang Changchun wrote: > Fix possible memory leak issue: free kvlist before return; > Fix possible resource lost issue: close qssockfd before return; > > Signed-off-by: Changchun Ouyang > --- > lib/librte_pmd_af_packet/rte_eth_af_packet.c | 11 +-- > 1 file changed