ring: fix memory leak when detaching
authorMauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
Fri, 20 Nov 2015 18:24:19 +0000 (19:24 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 23 Nov 2015 22:51:14 +0000 (23:51 +0100)
commitd082c0395bf6cd8c5d9033d2826082557a336984
tree8a354340e48b004afa2dfde7b108cd1a9926f398
parent850d6bb7d584cbbdbc06b0e93fc5c53b6ea44791
ring: fix memory leak when detaching

When freeing the device it is also neccesary to free
rx_queues and tx_queues

Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal@studenti.polito.it>
drivers/net/ring/rte_eth_ring.c