Changeset 584


Ignore:
Timestamp:
Mar 22, 2007 12:59:01 PM (13 years ago)
Author:
forrest
Message:

fix seg fault

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.1/Cbc/src/CbcModel.cpp

    r544 r584  
    944944        if (anyAction != -2) {
    945945          // zap parent nodeInfo
    946           newNode->nodeInfo()->nullParent();
     946#ifdef COIN_DEVELOP
     947          printf("zapping CbcNodeInfo %x\n",newNode->nodeInfo()->parent());
     948#endif
     949          if (newNode->nodeInfo())
     950            newNode->nodeInfo()->nullParent();
    947951        }
    948952        delete newNode ;
     
    14991503#endif
    15001504            // zap parent nodeInfo
    1501             newNode->nodeInfo()->nullParent();
     1505            if (newNode->nodeInfo())
     1506              newNode->nodeInfo()->nullParent();
    15021507          }
    15031508        }
Note: See TracChangeset for help on using the changeset viewer.