conf: add cleanup func for virMacMap

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
Ján Tomko 2021-09-04 22:28:04 +02:00
parent a9ce03636c
commit a26df27662
1 changed files with 2 additions and 0 deletions

View File

@ -21,8 +21,10 @@
#pragma once #pragma once
#include "internal.h" #include "internal.h"
#include "virobject.h"
typedef struct virMacMap virMacMap; typedef struct virMacMap virMacMap;
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virMacMap, virObjectUnref)
char * char *
virMacMapFileName(const char *dnsmasqStateDir, virMacMapFileName(const char *dnsmasqStateDir,