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 */ }
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); } }
//Zrusi celu tabulku //pointer ukaze na NULL void htab_free(htab_t *t) { htab_clear(t); free(t); return; }