mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
datatypes.h: register AUTOPTR_CLEANUP_FUNC for virNodeDevicePtr
Next patch will use g_autoptr() with virNodeDevicePtr for cleanups. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
42923b1356
commit
714b22d745
@ -707,6 +707,8 @@ struct _virNodeDevice {
|
||||
char *parentName; /* parent device name */
|
||||
};
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virNodeDevice, virObjectUnref);
|
||||
|
||||
/**
|
||||
* _virSecret:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user