Esempio n. 1
0
void
free_tbl(tbl_t* tt)
{
  int i;
  for (i = 0; i < tt->nalloc; ++i)
    free_llist(tt->buckets[i]);

  free(tt);
}
Esempio n. 2
0
void free_ata(t_device_desc* device_desc)
{
	free_llist(device_desc->pending_request);
}
Esempio n. 3
0
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);
}
Esempio n. 4
0
File: queue.c Progetto: imgits/g-os
//USE ONLY AFTER DEQUEUE,QUEUE MUST BE EMPTY!!!!
void free_queue(t_queue* queue)
{
	free_llist(queue);
}
Esempio n. 5
0
/* 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() */