diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-17 21:15:54 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-15 08:52:09 +0100 |
commit | 157db293ebf640d0ad04498ca469dcd3839a4e41 (patch) | |
tree | 1639cf9270f592d0755b6f7a3438d75ab9c7b582 /scripts | |
parent | d84f714eafedd8bb9d4aaec8b76417bef8e3535e (diff) | |
download | qemu-157db293ebf640d0ad04498ca469dcd3839a4e41.zip qemu-157db293ebf640d0ad04498ca469dcd3839a4e41.tar.gz qemu-157db293ebf640d0ad04498ca469dcd3839a4e41.tar.bz2 |
tests: Use error_free_or_abort() where appropriate
Done with this Coccinelle semantic patch:
@@
expression E;
@@
- g_assert(E);
- error_free(E);
+ error_free_or_abort(&E);
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1487362554-5688-1-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions