ck_hs: Add ck_hs_destroy.

ck_pring
Samy Al Bahra 12 years ago
parent 6fded0c0a1
commit e9ca398123

@ -115,6 +115,14 @@ ck_hs_map_destroy(struct ck_malloc *m, struct ck_hs_map *map, bool defer)
return;
}
void
ck_hs_destroy(struct ck_hs *hs)
{
ck_hs_map_destroy(hs->m, hs->map, false);
return;
}
static struct ck_hs_map *
ck_hs_map_create(struct ck_hs *hs, unsigned long entries)
{

Loading…
Cancel
Save