示例#1
0
void htab_free(htab_t *t)
{
	if (t==NULL) return;
	htab_clear(t);
	free(t);
	/* Zahodit ukazatel na hashtable, v tomto prototype funkcie neni mozny */
}
示例#2
0
文件: htab_free.c 项目: Matovidlo/FIT
void htab_free(htab_t *t)
{
	/* freeing only if t is not null */
	if(t!=NULL)
	{
		/* calling a functiontion which provide clearing all item's in all ptr's*/
		htab_clear(t);
		free(t);
	}
}
示例#3
0
//Zrusi celu tabulku
//pointer ukaze na NULL
void htab_free(htab_t *t)
{
    htab_clear(t);
    free(t);
    return;
}