summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2018-06-21 22:21:31 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2018-06-21 22:21:31 (GMT)
commit56ca35e8a95b8cfaac73104d3699c2b901298a2d (patch)
tree14e05bfc1dadc4a05b0c9c77297092eda6333b09 /generic/tclThreadTest.c
parent107fb1eb331d7f346dfbdf5e7655a28f4643899c (diff)
downloadtcl-56ca35e8a95b8cfaac73104d3699c2b901298a2d.zip
tcl-56ca35e8a95b8cfaac73104d3699c2b901298a2d.tar.gz
tcl-56ca35e8a95b8cfaac73104d3699c2b901298a2d.tar.bz2
Add custom exit procedure for tcltests executable.
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index 6fc0e52..3d63964 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -176,6 +176,13 @@ TclThread_Init(
}
+void * TclThreadTestFinalize() {
+ if (errorProcString != NULL) {
+ ckfree(errorProcString);
+ errorProcString= NULL;
+ }
+}
+
/*
*----------------------------------------------------------------------
*