summaryrefslogtreecommitdiff
path: root/specific.c
diff options
context:
space:
mode:
Diffstat (limited to 'specific.c')
-rw-r--r--specific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/specific.c b/specific.c
index cbeb2331..98d86c31 100644
--- a/specific.c
+++ b/specific.c
@@ -82,8 +82,8 @@ void PREFIXED(remove_specific) (tsd * key) {
}
/* Invalidate qtid field, since qtids may be reused, and a later */
/* cache lookup could otherwise find this entry. */
- entry -> qtid = INVALID_QTID;
if (entry != NULL) {
+ entry -> qtid = INVALID_QTID;
*link = entry -> next;
/* Atomic! concurrent accesses still work. */
/* They must, since readers don't lock. */