[PATCH 2/2] virStorageBackendRBDGetVolNames: Refactor cleanup in 'rbd_list' version

Jano Tomko jtomko at redhat.com
Tue Jun 15 14:31:23 UTC 2021


On 6/15/21 4:16 PM, Peter Krempa wrote:
> Use automatic memory freeing for the string list so that we can remove
> the cleanup section.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/storage/storage_backend_rbd.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)
> 

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano




More information about the libvir-list mailing list