Threads.main()->wait_for_search_finished();
- if (mem)
- aligned_ttmem_free(mem);
-
- if (!mbSize)
- {
- mem = nullptr;
- return;
- }
+ aligned_ttmem_free(mem);
clusterCount = mbSize * 1024 * 1024 / sizeof(Cluster);
table = static_cast<Cluster*>(aligned_ttmem_alloc(clusterCount * sizeof(Cluster), mem));