diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2018-06-21 22:21:31 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2018-06-21 22:21:31 (GMT) |
commit | 56ca35e8a95b8cfaac73104d3699c2b901298a2d (patch) | |
tree | 14e05bfc1dadc4a05b0c9c77297092eda6333b09 /generic/tclThreadTest.c | |
parent | 107fb1eb331d7f346dfbdf5e7655a28f4643899c (diff) | |
download | tcl-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.c | 7 |
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; + } +} + /* *---------------------------------------------------------------------- * |