summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_spec.c b/lib/libpthread/thread/thr_spec.c
index 8558dff..d1caa28 100644
--- a/lib/libpthread/thread/thr_spec.c
+++ b/lib/libpthread/thread/thr_spec.c
@@ -124,8 +124,8 @@ _thread_cleanupspecific(void)
}
}
}
- _thread_run->specific_data = NULL;
free(_thread_run->specific_data);
+ _thread_run->specific_data = NULL;
}
static inline const void **
OpenPOWER on IntegriCloud