summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclThread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c
index db326ad..b46ddf5 100644
--- a/generic/tclThread.c
+++ b/generic/tclThread.c
@@ -314,7 +314,7 @@ Tcl_MutexUnlockAndFinalize(
Tcl_MutexUnlock(&mutex);
TclpFinalizeMutex(&mutex);
#endif
- ForgetSyncObject(&mutex, &mutexRecord);
+ ForgetSyncObject(mutexPtr, &mutexRecord);
TclpMutexUnlock();
TclpMasterUnlock();
}