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