Fix bug in the Cadence/DEF parser, occuring on the PathCbk.
* Bug: In def/def_keywords.cpp, in defrData::pathIsDone(), the attribute defrData.PathObj was *forcibly* deleted directly inside the defrData class (with defrData remaining allocated). Either there is something I enterily miss or this is a big blunder. This was causing DefImport parser to crash, when activating the Path callback.
This commit is contained in:
parent
846ac49ab8
commit
92484ccbb2
|
@ -1350,7 +1350,7 @@ defrData::pathIsDone(int shield, int reset, int netOsnet, int *needCbk)
|
||||||
//defrPath->reverseOrder();
|
//defrPath->reverseOrder();
|
||||||
(*callbacks->PathCbk)(defrPathCbkType, &PathObj, session->UserData);
|
(*callbacks->PathCbk)(defrPathCbkType, &PathObj, session->UserData);
|
||||||
PathObj.Destroy();
|
PathObj.Destroy();
|
||||||
free((char*) &PathObj);
|
//free((char*) &PathObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
PathObj.Init();
|
PathObj.Init();
|
||||||
|
|
Loading…
Reference in New Issue