From 8d301bd435ac366565a341bbd2703b3c43b96e0f Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 16 Sep 2019 13:23:51 +0200 Subject: [PATCH] conf: secret: Register VIR_AUTOPTR function for virSecretDef Signed-off-by: Peter Krempa Reviewed-by: Jiri Denemark --- src/conf/secret_conf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf/secret_conf.h b/src/conf/secret_conf.h index de1c28e187..7cfcfc8a60 100644 --- a/src/conf/secret_conf.h +++ b/src/conf/secret_conf.h @@ -35,6 +35,8 @@ struct _virSecretDef { }; void virSecretDefFree(virSecretDefPtr def); +VIR_DEFINE_AUTOPTR_FUNC(virSecretDef, virSecretDefFree); + virSecretDefPtr virSecretDefParseString(const char *xml); virSecretDefPtr virSecretDefParseFile(const char *filename); char *virSecretDefFormat(const virSecretDef *def);