ring: fix memory freeing on error
authorJohn McNamara <john.mcnamara@intel.com>
Fri, 6 Nov 2015 17:28:37 +0000 (17:28 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 6 Nov 2015 23:08:36 +0000 (00:08 +0100)
commit4c28fb76855edeb03e5bf736dbbafd12cd84ac63
tree31fc93603152c9589d1a2854b598f92f8bfa9ba6
parentf03924c32ee668db84fd661d9442758b83ae2db7
ring: fix memory freeing on error

Fix minor memory free issue in error clean-up.

Reported-by Coverity (CID 119258)

Fixes: 651c505af862 ("ring: enhance device setup from rings")

Signed-off-by: John McNamara <john.mcnamara@intel.com>
drivers/net/ring/rte_eth_ring.c