[PATCH 11/11] virSecretGetSecretString: Refactor cleanup

Ján Tomko jtomko at redhat.com
Mon Dec 12 12:10:47 UTC 2022


On a Friday in 2022, Peter Krempa wrote:
>Automatically free 'sec' and remove the 'cleanup' section and 'ret'
>variables.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virsecret.c | 19 ++++++-------------
> 1 file changed, 6 insertions(+), 13 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: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20221212/bf1e7ca8/attachment.sig>


More information about the libvir-list mailing list