[libvirt PATCH 03/24] conf: add cleanup func for virMacMap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/util/virmacmap.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/virmacmap.h b/src/util/virmacmap.h
index 582c4a8bdf..c0efa2b20f 100644
--- a/src/util/virmacmap.h
+++ b/src/util/virmacmap.h
@@ -21,8 +21,10 @@
 #pragma once
 
 #include "internal.h"
+#include "virobject.h"
 
 typedef struct virMacMap virMacMap;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(virMacMap, virObjectUnref)
 
 char *
 virMacMapFileName(const char *dnsmasqStateDir,
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux