Changeset 460:4143b823d4f3 in finroc_core


Ignore:
Timestamp:
14.07.2019 11:44:24 (2 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
461:8ca60aa1dc5f, 462:976766843b33
Phase:
public
Message:

Fixes memory error in tUriConnector::tOwner::ClearUriConnectors()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • port/tUriConnector.cpp

    r456 r460  
    238238    for (auto & connector : (*connectors)) 
    239239    { 
    240       connector->OnDisconnect(); 
     240      if (connector) 
     241      { 
     242        connector->OnDisconnect(); 
     243      } 
    241244    } 
    242245    connectors.reset(); 
Note: See TracChangeset for help on using the changeset viewer.