diff --git a/src/util/virmacaddr.h b/src/util/virmacaddr.h index 3515264129f9e8c40d54d988696a9a0024110775..39dd51bd8152abc34fed823532eae68000a3925a 100644 --- a/src/util/virmacaddr.h +++ b/src/util/virmacaddr.h @@ -67,5 +67,6 @@ bool virMacAddrIsMulticast(const virMacAddr *addr); bool virMacAddrIsBroadcastRaw(const unsigned char s[VIR_MAC_BUFLEN]); void virMacAddrFree(virMacAddrPtr addr); +VIR_DEFINE_AUTOPTR_FUNC(virMacAddr, virMacAddrFree) #endif /* __VIR_MACADDR_H__ */