Revert r326740. I committed wrong diff.

This commit is contained in:
Michal Meloun 2017-12-10 09:15:37 +00:00
parent 3ee2fe0199
commit e7dad90fe5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326741

View file

@ -91,11 +91,9 @@ idalloctm(tsdn_t *tsdn, void *ptr, tcache_t *tcache, alloc_ctx_t *alloc_ctx,
if (config_stats && is_internal) {
arena_internal_sub(iaalloc(tsdn, ptr), isalloc(tsdn, ptr));
}
#if 0
if (!is_internal && tsd_reentrancy_level_get(tsdn_tsd(tsdn)) != 0) {
assert(tcache == NULL);
}
#endif
arena_dalloc(tsdn, ptr, tcache, alloc_ctx, slow_path);
}