eal/windows: cleanup virt2phys handle
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Mon, 26 Jul 2021 21:36:32 +0000 (00:36 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 30 Jul 2021 16:56:01 +0000 (18:56 +0200)
commit23ce9e0a193636e2f5ec9b386ddd5307c17e9723
treee84c24f4b1542fa1ce4ba2f2b08fc2991790c924
parent97986fa56475f409bb700f1025ce3ea34002c10d
eal/windows: cleanup virt2phys handle

eal_mem_virt2phys_init() opens a handle for use by rte_mem_virt2phy().
Close this handle on EAL cleanup.

Fixes: 2a5d547a4a9b ("eal/windows: implement basic memory management")
Cc: stable@dpdk.org
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Ranjit Menon <ranjit.menon@intel.com>
lib/eal/windows/eal.c
lib/eal/windows/eal_memory.c
lib/eal/windows/eal_windows.h