void free_tbl(tbl_t* tt) { int i; for (i = 0; i < tt->nalloc; ++i) free_llist(tt->buckets[i]); free(tt); }
void free_ata(t_device_desc* device_desc) { free_llist(device_desc->pending_request); }
void tcp_conn_map_free(t_tcp_conn_map* tcp_conn_map) { hashtable_free(tcp_conn_map->conn_map); free_llist(tcp_conn_map->duplicate_conn_list); kfree(t_tcp_conn_map); }
//USE ONLY AFTER DEQUEUE,QUEUE MUST BE EMPTY!!!! void free_queue(t_queue* queue) { free_llist(queue); }
/* Frees storage allocated for the dittolist created * by DtSearchQuery(), and sets dittolist pointer to NULL. * Always returns DtSrOK. */ int DtSearchFreeResults (DtSrResult ** dittolist) { free_llist ((LLIST **) dittolist); return DtSrOK; } /* DtSearchFreeResults() */