Re: [PATCH v2 05/25] tests: Use error_free_or_abort() where appropriate

2020-06-24 Thread Eric Blake
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 --- Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat

[PATCH v2 05/25] tests: Use error_free_or_abort() where appropriate

2020-06-24 Thread Markus Armbruster
Replace g_assert(err != NULL); error_free(err); err = NULL; and variations thereof by error_free_or_abort(&err); Signed-off-by: Markus Armbruster --- tests/check-block-qdict.c | 24 ++-- tests/check-qom-proplist.c | 7 ++- tests/test-base64.c