Differences From Artifact [c0031b4a0e]:
- File unix/tclUnixThrd.c — part of check-in [390eff66e1] at 2013-06-21 11:57:59 on branch trunk — Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support it's even not necessary any more (except for fake-rfc2553, but mutexes are used here already) , but it's in the internal stub table so we cannot remove it until 9.0 (user: jan.nijtmans size: 18554) [more...]
To Artifact [67d061be03]:
- File unix/tclUnixThrd.c — part of check-in [6b5f70a82f] at 2014-04-24 04:34:01 on branch trunk — [3493120] Plug memory leak in thread exit. (user: dgp size: 18587) [more...]
| ︙ | ︙ | |||
723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
{
if (ptr != NULL) {
/*
* Called by the pthread lib when a thread exits
*/
TclFreeAllocCache(ptr);
} else if (initialized) {
/*
* Called by us in TclFinalizeThreadAlloc() during the library
* finalization initiated from Tcl_Finalize()
*/
| > | 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 |
{
if (ptr != NULL) {
/*
* Called by the pthread lib when a thread exits
*/
TclFreeAllocCache(ptr);
pthread_setspecific(key, NULL);
} else if (initialized) {
/*
* Called by us in TclFinalizeThreadAlloc() during the library
* finalization initiated from Tcl_Finalize()
*/
|
| ︙ | ︙ |