summaryrefslogtreecommitdiff
path: root/ptw32_tkAssocDestroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_tkAssocDestroy.c')
-rw-r--r--ptw32_tkAssocDestroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ptw32_tkAssocDestroy.c b/ptw32_tkAssocDestroy.c
index 682b896..1022dea 100644
--- a/ptw32_tkAssocDestroy.c
+++ b/ptw32_tkAssocDestroy.c
@@ -56,7 +56,7 @@ ptw32_tkAssocDestroy (ThreadKeyAssoc * assoc)
*/
{
- if ((assoc != NULL) && (assoc->key == NULL && assoc->thread == NULL))
+ if ((assoc != NULL) && (assoc->key == NULL && assoc->thread.p == NULL))
{
pthread_mutex_destroy (&(assoc->lock));