FreeBSD/sys/netpfil/ipfw/dn_heap.c
/*
 * cleanup the heap and free data structure
 */
cleanup the heap and free data structure
cleanup the heap and free data structure
void
heap_free(struct dn_heap *h)
{
	if (h->size >0 )
		free(h->p, M_DN_HEAP);
	bzero(h, sizeof(*h) );
}
void heap_free ( struct dn_heap * h ) { if ( h -> size > 0 ) free ( h -> p , M_DN_HEAP ) ; bzero ( h , sizeof ( * h ) ) ; }
cleanup the heap and free data structure
cleanup the heap and free data structure