serverspy/src/serverspy.cxx
//------------------------------------------------------------------------------
// Destructor will free the space allocated for the new client name
//------------------------------------------------------------------------------
Destructor will free the space allocated for the new client name
Destructor will free the space allocated for the new client name
ClientDescriptor::~ClientDescriptor() {
        if(m_LastCommand!=NULL) free(m_LastCommand);
        m_LastCommand=NULL;
        if(m_UserName!=NULL) free(m_UserName);
        m_UserName=NULL;
}
ClientDescriptor :: ~ ClientDescriptor ( ) { if ( m_LastCommand != NULL ) free ( m_LastCommand ) ; m_LastCommand = NULL ; if ( m_UserName != NULL ) free ( m_UserName ) ; m_UserName = NULL ; }
Destructor will free the space allocated for the new client name
Destructor will free the space allocated for the new client name