Coverity error fixes.
* Fix unitialized variable in MSG_PANEL_ITEM default ctor. * Fix a bunch of uncaught exception issues. * Fix a memory leak in the NETLIST_READER::GetNetlistReader() when an an attempt to read an invalid net list file occurs.
This commit is contained in:
@@ -126,9 +126,9 @@ NETLIST_READER* NETLIST_READER::GetNetlistReader( NETLIST* aNetlist,
|
||||
|
||||
default: // Unrecognized format:
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
delete cmpFileReader;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user