diff options
Diffstat (limited to 'sysdeps/generic/pt-destroy-specific.c')
-rw-r--r-- | sysdeps/generic/pt-destroy-specific.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-destroy-specific.c b/sysdeps/generic/pt-destroy-specific.c index cb6affe..523a620 100644 --- a/sysdeps/generic/pt-destroy-specific.c +++ b/sysdeps/generic/pt-destroy-specific.c @@ -49,7 +49,7 @@ __pthread_destroy_specific (struct __pthread *thread) continue; value = thread->thread_specifics[i]; - if (value) + if (value != NULL) { thread->thread_specifics[i] = 0; |