diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-10-11 10:43:37 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-10-11 10:43:37 +0100 |
| commit | 75e50c80e051423a6f55a34ee4a1eec842444a5b (patch) | |
| tree | bc52115bc7254051864a725f0d44f2f53511f8e9 /tests/check-qjson.c | |
| parent | 53a19a9a5f9811a911e9b69ef36afb0d66b5d85c (diff) | |
| parent | b266f1d1123396f9f5df865508f7555ab0c9582a (diff) | |
| download | focaccia-qemu-75e50c80e051423a6f55a34ee4a1eec842444a5b.tar.gz focaccia-qemu-75e50c80e051423a6f55a34ee4a1eec842444a5b.zip | |
Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2018-10-10' into staging
Miscellaneous patches for 2018-10-10 # gpg: Signature made Wed 10 Oct 2018 07:03:10 BST # gpg: using RSA key 3870B400EB918653 # 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-2018-10-10: ivshmem: Fix unplug of device "ivshmem-plain" libqtest: Inline g_assert_no_errno() tests: Restore check-qdict unit test qapi/misc.json: Remove superfluous words in CpuModelExpansionType tests/check-qjson: fix a leak Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/check-qjson.c')
| -rw-r--r-- | tests/check-qjson.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check-qjson.c b/tests/check-qjson.c index cc13f3d41e..d876a7a96e 100644 --- a/tests/check-qjson.c +++ b/tests/check-qjson.c @@ -780,6 +780,7 @@ static void utf8_string(void) if (!strstr(json_out, "\\uFFFD")) { str = from_json_str(json_out, j, &error_abort); g_assert_cmpstr(qstring_get_try_str(str), ==, utf8_in); + qobject_unref(str); } } } |