diff options
Diffstat (limited to 'malloc/malloc-debug.c')
-rw-r--r-- | malloc/malloc-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc-debug.c b/malloc/malloc-debug.c index da9d2340d3..f9d131d22f 100644 --- a/malloc/malloc-debug.c +++ b/malloc/malloc-debug.c @@ -588,7 +588,7 @@ malloc_set_state (void *msptr) __malloc_debug_disable (MALLOC_CHECK_HOOK); /* We do not need to perform locking here because malloc_set_state - must be called before the first call into the malloc subsytem (usually via + must be called before the first call into the malloc subsystem (usually via __malloc_initialize_hook). pthread_create always calls calloc and thus must be called only afterwards, so there cannot be more than one thread when we reach this point. Also handle initialization if either we ended |