Merge "Fix rare mtcAgent segfault on process shutdown"

This commit is contained in:
Zuul 2019-10-07 14:43:28 +00:00 committed by Gerrit Code Review
commit 9a24a7e71a
1 changed files with 1 additions and 8 deletions

View File

@ -352,14 +352,7 @@ nodeLinkClass::nodeLinkClass()
/* nodeLinkClass destructor */
nodeLinkClass::~nodeLinkClass()
{
/* Free any allocated host memory */
for ( int i = 0 ; i < MAX_HOSTS ; i++ )
{
if ( node_ptrs[i] )
{
delete node_ptrs[i] ;
}
}
;
}
/* Clear start host service controls */