FreeBSD/contrib/ntp/ntpd/ntp_crypto.c
/*
 * value_free - free value structure components.
 *
 * Returns void (no errors)
 */
free value structure components.
Returns void (no errors)
free value structure components . Returns void ( no errors )
void
value_free(
	struct value *vp	
	)
{
	if (vp->ptr != NULL)
		free(vp->ptr);
	if (vp->sig != NULL)
		free(vp->sig);
	memset(vp, 0, sizeof(struct value));
}
void value_free ( struct value * vp ) { if ( vp -> ptr != NULL ) free ( vp -> ptr ) ; if ( vp -> sig != NULL ) free ( vp -> sig ) ; memset ( vp , 0 , sizeof ( struct value ) ) ; }
value_free - free value structure components.
value_free - free value structure components .
/* value structure */