fixed destruction of generalNames linked list