libvirt/src/test
Michal Privoznik b72419f387 lib: Introduce and use g_autoptr() for virInterfaceDef
There are a lot of places where we call virInterfaceDefFree()
explicitly. We can define autoptr cleanup macro and annotate
declarations with g_autoptr() and remove plenty of those explicit
free calls.

This also fixes a memory leak in udevInterfaceGetXMLDesc() which
called virInterfaceDefFree() only in successful path.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
2021-11-02 10:52:18 +01:00
..
meson.build test_driver: Implement virDomainSetBlkioParameters 2021-08-19 13:31:57 +02:00
test_driver.c lib: Introduce and use g_autoptr() for virInterfaceDef 2021-11-02 10:52:18 +01:00
test_driver.h src/test: use #pragma once in headers 2019-06-19 17:12:31 +02:00
test-screenshot.png test: fix screenshot API impl 2016-12-08 10:57:32 +00:00