bitset: Add a bitset_free() function

This commit is contained in:
nick
2013-09-11 14:41:59 +01:00
parent 487bef1f40
commit 54a41aacdf
3 changed files with 8 additions and 2 deletions

View File

@@ -830,7 +830,7 @@ void serve_cleanup(struct server* params,
pthread_cancel(params->allocation_map_builder_thread);
pthread_join(params->allocation_map_builder_thread, &status);
if (params->allocation_map) {
free(params->allocation_map);
bitset_free( params->allocation_map );
}
int need_mirror_lock;