Subject: Be sure to finalize the identity encoding.

From: dgp <[email-masked]>
Date: Tue, 4 Feb 2014 14:30:55 +0000

---
 generic/tclEncoding.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index c303dd1..1842fb6 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -658,6 +658,7 @@ TclFinalizeEncodingSubsystem(void)
     Tcl_MutexLock(&encodingMutex);
     encodingsInitialized = 0;
     FreeEncoding(systemEncoding);
+    FreeEncoding(tclIdentityEncoding);
 
     hPtr = Tcl_FirstHashEntry(&encodingTable, &search);
     while (hPtr != NULL) {
-- 
cgit v0.12