Ignore:
Timestamp:
Oct 4, 2010, 2:27:16 PM (14 years ago)
Author:
Christoph Mayer
Message:

-mem leaks

File:
1 edited

Legend:

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

    r8606 r8620  
    279279class DispatchMsg {
    280280public:
     281        DispatchMsg() : local(NULL), remote(NULL), message(NULL) {}
    281282        address_v* local;
    282283        address_v* remote;
     
    385386                        if( !allowlink ){
    386387                                logging_warn( "Overlay denied creation of link" );
     388                                delete msg;
    387389                                return;
    388390                        }
     
    447449                        if (ld.isUnspecified()) {
    448450                                logging_warn("Failed to find local link " << msg->getRemoteLink().toString());
     451                                delete msg;
    449452                                return;
    450453                        }
     
    458461                                                );
    459462
    460 
    461463                        localDescriptor.getEndpoints().add(
    462464                                msg->getRemoteDescriptor().getEndpoints(),
     
    492494                        if (linkDesc.isUnspecified()) {
    493495                                logging_warn("Failed to find local link " << localLink.toString());
     496                                delete msg;
    494497                                return;
    495498                        }
     
    521524                                logging_warn("Failed to update local link "
    522525                                        << localLink.toString());
     526                                delete msg;
    523527                                return;
    524528                        }
     
    543547                }
    544548        }
     549
    545550        delete msg;
    546551}
Note: See TracChangeset for help on using the changeset viewer.