Re: [Qemu-devel] [PATCH] tests: Use error_free_or_abort() where appropriate

2017-02-17 Thread Eric Blake
On 02/17/2017 02:15 PM, Markus Armbruster wrote: > Done with this Coccinelle semantic patch: > > @@ > expression E; > @@ > -g_assert(E); > -error_free(E); > +error_free_or_abort(&E); > > Signed-off-by: Markus Armbruster > --- > tests/test-qemu-opts.c

[Qemu-devel] [PATCH] tests: Use error_free_or_abort() where appropriate

2017-02-17 Thread Markus Armbruster
Done with this Coccinelle semantic patch: @@ expression E; @@ -g_assert(E); -error_free(E); +error_free_or_abort(&E); Signed-off-by: Markus Armbruster --- tests/test-qemu-opts.c | 3 +-- tests/test-qobject-output-visitor.c | 6 ++ 2 files cha