Пример #1
0
func (f *VirNWFilter) Free() error {
	if result := C.virNWFilterFree(f.ptr); result != 0 {
		return GetLastError()
	}
	return nil
}
Пример #2
0
func cleanupNetworkFilter(nfilter *NetworkFilter) {
	C.virNWFilterFree(nfilter.cptr)
}