Ignore:
Timestamp:
Aug 3, 2009, 12:47:53 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/BaseCommunication.cpp

    r5615 r5616  
    6565        }
    6666        endpoint_reference ref;
    67         ref.endpoint = endpoint;
     67        ref.endpoint = endpoint->clone();
    6868        ref.count = 0;
    6969        remote_endpoints.push_back(ref);
     
    7979                                logging_info("No more links to " << i->endpoint->to_string() << ": terminating transports!");
    8080                                transport->terminate(i->endpoint);
     81                                delete i->endpoint;
    8182                                remote_endpoints.erase(i);
    8283                        }
     
    367368                        ld->remoteLocator = remote->clone();
    368369                        ld->remoteEndpoint = msg->getLocalDescriptor();
    369                         add_endpoint(ld);
     370                        add_endpoint(ld->remoteLocator);
    370371
    371372                        // add layer 1-3 addresses
     
    431432                        );
    432433                        ld.up = true;
    433                         add_endpoint(ld);
     434                        add_endpoint(ld->remoteLocator);
    434435
    435436                        logging_debug( "Link is now up with local id "
Note: See TracChangeset for help on using the changeset viewer.