[PATCH RESEND 13/20] virsh-domain.c: modernize cmdDetachDevice()

Laine Stump laine at redhat.com
Mon Feb 22 03:52:39 UTC 2021


On 1/18/21 2:53 PM, Daniel Henrique Barboza wrote:
> Use g_auto* pointers to avoid the need of a cleanup label. The
> type of the pointer 'virDomainPtr dom' was changed to its alias
> 'virshDomainPtr' to allow the use of g_autoptr().
> 
> Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>

Reviewed-by: Laine Stump <laine at redhat.com>




More information about the libvir-list mailing list