Exemple #1
0
func (n *VirNetwork) Free() error {
	if result := C.virNetworkFree(n.ptr); result != 0 {
		return GetLastError()
	}
	return nil
}
Exemple #2
0
func cleanupNetwork(network *Network) {
	C.virNetworkFree(network.cptr)
}