src/stdlib/table.c
/*=================================================
 * free_table_iter -- Delete & free table iterator object
 *===============================================*/
- Delete & free table iterator object
- Delete & free table iterator object
static void
free_table_iter (TABLE_ITER tabit)
{
	if (!tabit) return;
	ASSERT(!tabit->refcnt);
        if (!tabit->rbit) {
                end_hashtab(&tabit->hashtab_iter);
	}
	memset(tabit, 0, sizeof(*tabit));
	stdfree(tabit);
}
static void free_table_iter ( TABLE_ITER tabit ) { if ( ! tabit ) return ; ASSERT ( ! tabit -> refcnt ) ; if ( ! tabit -> rbit ) { end_hashtab ( & tabit -> hashtab_iter ) ; } memset ( tabit , 0 , sizeof ( * tabit ) ) ; stdfree ( tabit ) ; }
free_table_iter -- Delete & free table iterator object
free_table_iter -- Delete & free table iterator object