[libvirt] [PATCH v2 02/32] util: Rework virStorageAuthDefCopy

Ján Tomko jtomko at redhat.com
Mon Feb 11 09:36:50 UTC 2019


On Fri, Feb 08, 2019 at 01:36:56PM -0500, John Ferlan wrote:
>Rather than having an error path, let's rework the code to allocate
>and fill into an @authdef variable and then steal that into @ret when
>we are successful leaving just a cleanup: path.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>Reviewed-by: Erik Skultety <eskultet at redhat.com>
>---
> src/util/virstoragefile.c | 26 +++++++++++++-------------
> 1 file changed, 13 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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190211/b3b090e0/attachment-0001.sig>


More information about the libvir-list mailing list