conf: define g_autoptr for virNWFilterDef and virNWFilterRuleDef

Signed-off-by: Jiang Jiacheng <jiangjiacheng@huawei.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Jiang Jiacheng 2023-01-10 19:29:25 +08:00 committed by Ján Tomko
parent 16bfbc8cd2
commit 94432a486f

View File

@ -522,9 +522,11 @@ struct _virNWFilterDef {
void
virNWFilterRuleDefFree(virNWFilterRuleDef *def);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virNWFilterRuleDef, virNWFilterRuleDefFree);
void
virNWFilterDefFree(virNWFilterDef *def);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virNWFilterDef, virNWFilterDefFree);
int
virNWFilterTriggerRebuild(void);