On Thu, Jul 30, 2020 at 12:01:36PM +0800, lixiaokeng wrote:
> In dm_get_maps func, if vector_alloc_slot(mp) fails, the
> mpp should be free.
>
> Here we call free_multipath(mpp, KEEP_PATHS) to free map.
>
> Signed-off-by: Lixiaokeng
> Signed-off-by: Zhiqiang Liu
Reviewed-by: Benjamin Marzinski
In dm_get_maps func, if vector_alloc_slot(mp) fails, the
mpp should be free.
Here we call free_multipath(mpp, KEEP_PATHS) to free map.
Signed-off-by: Lixiaokeng
Signed-off-by: Zhiqiang Liu
---
libmultipath/devmapper.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libm