mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-07 13:35:21 +00:00
b72419f387
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> |
||
---|---|---|
.. | ||
meson.build | ||
test_driver.c | ||
test_driver.h | ||
test-screenshot.png |