On Mon, Sep 16, 2019 at 14:17:11 +0200, Peter Krempa wrote: > Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> > --- > 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); Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx> -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list