We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b1c19 commit b8e8babCopy full SHA for b8e8bab
src/base_alloc/base_alloc_linear.c
@@ -251,14 +251,7 @@ void umf_ba_linear_destroy(umf_ba_linear_pool_t *pool) {
251
if (pool->metadata.global_n_allocs) {
252
fprintf(stderr, "umf_ba_linear_destroy(): global_n_allocs = %zu\n",
253
pool->metadata.global_n_allocs);
254
- // This assert fails sporadically on Windows only.
255
- // TODO: fix this issue and uncomment this assert
256
- // It is safe to comment it out temporarily,
257
- // because the linear base allocator is used
258
- // in the proxy library only but umf_ba_linear_destroy()
259
- // is skipped, so this code is never run in real life.
260
- //
261
- // assert(pool->metadata.global_n_allocs == 0);
+ assert(pool->metadata.global_n_allocs == 0);
262
}
263
#endif /* NDEBUG */
264
0 commit comments