=== modified file 'src/libCom/osi/os/WIN32/osdThread.c' --- src/libCom/osi/os/WIN32/osdThread.c 2012-06-18 19:52:03 +0000 +++ src/libCom/osi/os/WIN32/osdThread.c 2013-05-06 19:51:49 +0000 @@ -246,10 +246,7 @@ ellDelete ( & pGbl->threadList, & pParm->node ); LeaveCriticalSection ( & pGbl->mutex ); - /* close the handle if its an implicit thread id */ - if ( ! pParm->funptr ) { - CloseHandle ( pParm->handle ); - } + CloseHandle ( pParm->handle ); free ( pParm ); TlsSetValue ( pGbl->tlsIndexThreadLibraryEPICS, 0 ); }