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