FreeBSD/usr.sbin/mountd/mountd.c
/*
 * Traverse the dirlist tree and free it up.
 */
Traverse the dirlist tree and free it up.
Traverse the dirlist tree and free it up .
static void
free_dir(struct dirlist *dp)
{
	if (dp) {
		free_dir(dp->dp_left);
		free_dir(dp->dp_right);
		free_host(dp->dp_hosts);
		free((caddr_t)dp);
	}
}
static void free_dir ( struct dirlist * dp ) { if ( dp ) { free_dir ( dp -> dp_left ) ; free_dir ( dp -> dp_right ) ; free_host ( dp -> dp_hosts ) ; free ( ( caddr_t ) dp ) ; } }
Traverse the dirlist tree and free it up.
Traverse the dirlist tree and free it up .