On Mon, 2020-11-02 at 10:41 +0800, lixiaokeng wrote:
> When multipath -F are executed first and multipath -v2 or
> -d are executed later, asan will warn memory leaks. The
> reason is that the mpp allocated in coalesce_paths isn't
> freed. Here we use newmp to store mpp. If mpvec is NULL,
> we free newmp at the end of the func.
> 
> Signed-off-by: Lixiaokeng <[email protected]>
> Signed-off-by: Zhiqiang Liu <[email protected]>
> Signed-off-by: Linfeilong <[email protected]>

This looks ok to me now. I'd like Ben to have a look too, though.
Also, I believe this will be applied after the largeish pending
series.

Regards
Martin


--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to