Re: [dm-devel] [PATCH] libmpathpersist: fix resource leak in update_map_pr()

2023-02-02 Thread Benjamin Marzinski
On Thu, Feb 02, 2023 at 09:42:20AM +0100, mwi...@suse.com wrote: > From: Martin Wilck > > The "no available paths" case would leak the memory resp points to. > Found by coverity. > > Fixes: 50e2c16 ("multipathd: handle no active paths in update_map_pr") Oops. Reviewed-by: Benjamin Marzinski >

[dm-devel] [PATCH] libmpathpersist: fix resource leak in update_map_pr()

2023-02-02 Thread mwilck
From: Martin Wilck The "no available paths" case would leak the memory resp points to. Found by coverity. Fixes: 50e2c16 ("multipathd: handle no active paths in update_map_pr") Signed-off-by: Martin Wilck --- libmpathpersist/mpath_persist_int.c | 15 --- 1 file changed, 8 insertio