func (f *VirNWFilter) Free() error { if result := C.virNWFilterFree(f.ptr); result != 0 { return GetLastError() } return nil }
func cleanupNetworkFilter(nfilter *NetworkFilter) { C.virNWFilterFree(nfilter.cptr) }