diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-03-15 17:54:41 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-03-15 17:54:41 +0000 |
commit | de71fb96bfcdf6356355f49a886fbf58fe93bf87 (patch) | |
tree | f337f9c8debfe8357abfad9389f7bd2974b6c29c /tests/test-qemu-opts.c | |
parent | 7584bf5e6fcb444a75687314ab9d06d2ba1f8e4e (diff) | |
parent | 4d0e72396b69656f36f484b54ffe64893d793a80 (diff) |
Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2017-03-15' into staging
Miscellaneous patches for 2017-03-15
# gpg: Signature made Wed 15 Mar 2017 13:12:35 GMT
# gpg: using RSA key 0x3870B400EB918653
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
# gpg: aka "Markus Armbruster <armbru@pond.sub.org>"
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653
* remotes/armbru/tags/pull-misc-2017-03-15:
coverity-model: model address_space_read/write
tests: Use error_free_or_abort() where appropriate
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/test-qemu-opts.c')
-rw-r--r-- | tests/test-qemu-opts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-qemu-opts.c b/tests/test-qemu-opts.c index f6310b34f1..0ad74b464f 100644 --- a/tests/test-qemu-opts.c +++ b/tests/test-qemu-opts.c @@ -93,8 +93,7 @@ static void test_find_unknown_opts(void) /* should not return anything, we don't have an "unknown" option */ list = qemu_find_opts_err("unknown", &err); g_assert(list == NULL); - g_assert(err); - error_free(err); + error_free_or_abort(&err); } static void test_qemu_find_opts(void) |