[libvirt] [PATCH v2 08/32] conf: Rework virStoragePoolDefParseXML

Ján Tomko jtomko at redhat.com
Mon Feb 11 12:01:13 UTC 2019


On Fri, Feb 08, 2019 at 01:37:02PM -0500, John Ferlan wrote:
>Rather than having an error path, let's rework the code to allocate
>and fill into an @def 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>
>---
> src/conf/storage_conf.c | 114 ++++++++++++++++++++--------------------
> 1 file changed, 56 insertions(+), 58 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/49868b10/attachment-0001.sig>


More information about the libvir-list mailing list