mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-04 12:05:19 +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> |
||
---|---|---|
.. | ||
interface_backend_netcf.c | ||
interface_backend_udev.c | ||
interface_driver.c | ||
interface_driver.h | ||
meson.build | ||
virtinterfaced.init.in | ||
virtinterfaced.service.in | ||
virtinterfaced.sysconf |