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