[PATCH 06/12] cpu_ppc64.c: use g_autopr() with virCPUppc64ModelPtr

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


On a Wednesday in 2020, Daniel Henrique Barboza wrote:
>Use autocleanup with virCPUppc64ModelPtr to simplify existing
>code. Remove the 'error' label in ppc64ModelCopy() since it is
>now obsolete.
>Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> src/cpu/cpu_ppc64.c | 21 +++++++--------------
> 1 file changed, 7 insertions(+), 14 deletions(-)

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

-------------- 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/2c985c6c/attachment-0001.sig>

More information about the libvir-list mailing list