src/stdlib/hashtab.c
/*================================
 * end_hashtab -- Release/destroy hash table iterator
 *==============================*/
- Release/destroy hash table iterator
- Release / destroy hash table iterator
void
end_hashtab (HASHTAB_ITER * ptabit)
{
	HASHTAB_ITER tabit = *ptabit;
	ASSERT(tabit);
	ASSERT(tabit->magic == hashtab_iter_magic);
	memset(tabit, 0, sizeof(*tabit));
	stdfree(tabit);
	*ptabit = 0;
}
void end_hashtab ( HASHTAB_ITER * ptabit ) { HASHTAB_ITER tabit = * ptabit ; ASSERT ( tabit ) ; ASSERT ( tabit -> magic == hashtab_iter_magic ) ; memset ( tabit , 0 , sizeof ( * tabit ) ) ; stdfree ( tabit ) ; * ptabit = 0 ; }
end_hashtab -- Release/destroy hash table iterator
end_hashtab -- Release / destroy hash table iterator