[PATCH 1/1] qemu_capabilities.c: modernize virQEMUCapsCacheLookupDefault

Ján Tomko jtomko at redhat.com
Tue Jun 23 13:36:48 UTC 2020

On a Monday in 2020, Daniel Henrique Barboza wrote:
>Use g_autoptr() in qemuCaps to get rid of a virObjectUnref call,
>a 'cleanup' label and the 'ret' pointer.
>Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
>Found this while reviewing a patch last week.
> src/qemu/qemu_capabilities.c | 21 ++++++++-------------
> 1 file changed, 8 insertions(+), 13 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/20200623/9506abf5/attachment-0001.sig>

More information about the libvir-list mailing list