Subject: 3554250 Overlooked one field of cleanup in the thread exit handler for the filesystem subsystem.

From: dgp <[email-masked]>
Date: Tue, 7 Aug 2012 15:23:27 +0000

---
 ChangeLog           | 5 +++++
 generic/tclIOUtil.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 7a3b39f..9423c98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-07  Don Porter  <[email-masked]>
+
+	* generic/tclIOUtil.c:	[Bug 3554250] Overlooked one field of
+	cleanup in the thread exit handler for the filesystem subsystem.
+
 2012-07-31  Jan Nijtmans  <[email-masked]>
 
 	* win/nmakehlp.c: Backport from Tcl 8.6, but add -Q option from
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 6cf87ad..348e7bf 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -520,6 +520,7 @@ FsThrExitProc(
 	ckfree((char *)fsRecPtr);
 	fsRecPtr = tmpFsRecPtr;
     }
+    tsdPtr->filesystemList = NULL;
     tsdPtr->initialized = 0;
 }
 
-- 
cgit v0.12