On 6/24/20 3:37 AM, Markus Armbruster wrote:
Replace

     g_assert(err != NULL);
     error_free(err);
     err = NULL;

and variations thereof by

     error_free_or_abort(&err);

Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
Reviewed-by: Eric Blake <ebl...@redhat.com>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to