[PATCH 29/39] virResctrlAllocGetUnused: Use g_autoptr for variables of virResctrlAlloc type

Ján Tomko jtomko at redhat.com
Fri Apr 9 14:03:21 UTC 2021


On a Thursday in 2021, Peter Krempa wrote:
>Refactor the handling of variables so that the cleanup section can be
>sanitized.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virresctrl.c | 32 ++++++++++++--------------------
> 1 file changed, 12 insertions(+), 20 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/20210409/a1239a92/attachment-0001.sig>


More information about the libvir-list mailing list