[PATCH 10/12] cpu_ppc64.c: use g_autoptr() in virCPUppc64GetHost()

Ján Tomko jtomko at redhat.com
Tue Sep 8 16:07:30 UTC 2020


On a Wednesday in 2020, Daniel Henrique Barboza wrote:
>We don't need to call virCPUppc64DataFree() in a cleanup label.
>This function is already assigned to the 'dataFree' interface
>of cpuDriverPPC64, and it will be called by virCPUDataFree(), the
>autocleanup function of virCPUDataPtr, via driver->dataFree.
>
>Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
>---
> src/cpu/cpu_ppc64.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)
>

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

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200908/d3d0ffdc/attachment-0001.sig>


More information about the libvir-list mailing list