numam-dpdk/lib/librte_vhost
Yong Wang 5731d6acc7 vhost: fix memory leak
In function vhost_new_device(), current code dose not free 'dev'
in "i == MAX_VHOST_DEVICE" condition statements. It will lead to a
memory leak.

Fixes: 45ca9c6f7bc6 ("vhost: get rid of linked list for devices")
Cc: stable@dpdk.org

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:20:17 +01:00
..
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-09-13 05:25:08 +02:00
2016-10-26 13:39:09 +02:00
2016-09-13 05:25:08 +02:00
2017-01-17 09:20:17 +01:00
2016-11-07 15:59:21 +01:00