void returnVans(TTRAIN * train) { if (train == NULL)return; TVAN* now = train -> m_Start; train->m_Count = 0; train->m_Start = NULL; while(now!=NULL){ free(now -> m_To); now = now -> m_Next; } return; }