Re: [libvirt] [PATCH] mpath: Fix memory leak in virStorageBackendCreateVols

2017-07-19 Thread Michal Privoznik
On 07/19/2017 02:36 AM, ZhiPeng Lu wrote: > @map_device, allocated by virAsprintf in virStorageBackendCreateVols, > was not freed and leaked. > > Signed-off-by: Zhipeng Lu > --- > src/storage/storage_backend_mpath.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/storage/storage_ba

[libvirt] [PATCH] mpath: Fix memory leak in virStorageBackendCreateVols

2017-07-18 Thread ZhiPeng Lu
@map_device, allocated by virAsprintf in virStorageBackendCreateVols, was not freed and leaked. Signed-off-by: Zhipeng Lu --- src/storage/storage_backend_mpath.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/storage_backend_mpath.c b/src/storage/storage_backend_mpath.c index 6