]> xenbits.xensource.com Git - libvirt.git/commit
tests: schema: Simplify memory handling using g_autofree
authorPeter Krempa <pkrempa@redhat.com>
Tue, 19 Nov 2019 10:16:34 +0000 (11:16 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Nov 2019 11:57:50 +0000 (12:57 +0100)
commit5f5542b44e3a1ba261adcef04045221528f79211
tree0c4ae05573ef883f778019fc61e225cd93a49b73
parent7a69486c4df7c835a1e9d64a4154f8c456c7888f
tests: schema: Simplify memory handling using g_autofree

Refactor various functions to avoid multiple freeing function calls.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/virschematest.c