]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemumonitorjsontest: do not leak qapiData.schema
authorJán Tomko <jtomko@redhat.com>
Fri, 21 Feb 2020 23:57:07 +0000 (00:57 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 9 Mar 2020 14:46:43 +0000 (15:46 +0100)
commit01e68455b0c0642e008c2b7ef4858361843b5a00
tree3273ab02c0983b54006a1ad5e4cd9b8d3b19e4ee
parentfc7981610ce5cd3f41122e7073cc94991b7f9b6a
qemumonitorjsontest: do not leak qapiData.schema

Free the x86_64 schema before overwriting it with s390x schema.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: eee09435eec46553aac4fdf1c2d8f3214167bded
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemumonitorjsontest.c