diff options
Diffstat (limited to 'ptr_chck.c')
-rw-r--r-- | ptr_chck.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -123,11 +123,7 @@ GC_API void * GC_CALL GC_is_valid_displacement(void *p) word sz; if (!EXPECT(GC_is_initialized, TRUE)) GC_init(); - - /* A quick check to avoid TSan report about the data race */ - /* between GC_find_header() and GC_remove_counts(). */ if (NULL == p) return NULL; - hhdr = HDR((word)p); if (hhdr == 0) return(p); h = HBLKPTR(p); |