[libvirt PATCH 4/8] lxc: define cleanup function for virLXCDriverConfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/lxc/lxc_conf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lxc/lxc_conf.h b/src/lxc/lxc_conf.h
index 8993013ea4..5a1351bd63 100644
--- a/src/lxc/lxc_conf.h
+++ b/src/lxc/lxc_conf.h
@@ -102,6 +102,8 @@ struct _virLXCDriver {
     virCloseCallbacks *closeCallbacks;
 };
 
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(virLXCDriverConfig, virObjectUnref);
+
 virLXCDriverConfig *virLXCDriverConfigNew(void);
 virLXCDriverConfig *virLXCDriverGetConfig(virLXCDriver *driver);
 int virLXCLoadDriverConfig(virLXCDriverConfig *cfg,
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux