]> git.ipfire.org Git - thirdparty/libvirt.git/commit
datatypes: Declare autofree func for virDomainInterface type
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Feb 2026 08:19:51 +0000 (09:19 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Feb 2026 14:55:29 +0000 (15:55 +0100)
commitfb317b296d01f30c19fc54c7caa513a557a6eecd
tree8693aa406d93ab39d42f79b9d3f561578b95c587
parent8e377728c5264a0639fd622be3ac9922e88a22aa
datatypes: Declare autofree func for virDomainInterface type

The virDomainInterface type (struct _virDomainInterface) is
defined in our public header and even has a public free function
(virDomainInterfaceFree()). But in our code we will want to use
automatic memory freeing for it. Hence, make appropriate
declaration in datatypes.h.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/datatypes.h