mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
conf: node_device: Register autoptr cleanup function for virNodeDevCapsDef
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
afedd6dde5
commit
27b09ff09f
@ -377,6 +377,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(virNodeDeviceDef, virNodeDeviceDefFree);
|
|||||||
void
|
void
|
||||||
virNodeDevCapsDefFree(virNodeDevCapsDef *caps);
|
virNodeDevCapsDefFree(virNodeDevCapsDef *caps);
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virNodeDevCapsDef, virNodeDevCapsDefFree);
|
||||||
|
|
||||||
#define VIR_CONNECT_LIST_NODE_DEVICES_FILTERS_CAP \
|
#define VIR_CONNECT_LIST_NODE_DEVICES_FILTERS_CAP \
|
||||||
(VIR_CONNECT_LIST_NODE_DEVICES_CAP_SYSTEM | \
|
(VIR_CONNECT_LIST_NODE_DEVICES_CAP_SYSTEM | \
|
||||||
VIR_CONNECT_LIST_NODE_DEVICES_CAP_PCI_DEV | \
|
VIR_CONNECT_LIST_NODE_DEVICES_CAP_PCI_DEV | \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user