mirror of https://gitee.com/openkylin/libvirt.git
logging: define cleanup func for virLogManager
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
3ba4d96736
commit
131361f6bc
|
@ -27,6 +27,8 @@ typedef struct _virLogManager virLogManager;
|
|||
virLogManager *virLogManagerNew(bool privileged);
|
||||
|
||||
void virLogManagerFree(virLogManager *mgr);
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virLogManager, virLogManagerFree);
|
||||
|
||||
|
||||
int virLogManagerDomainOpenLogFile(virLogManager *mgr,
|
||||
const char *driver,
|
||||
|
|
Loading…
Reference in New Issue