diff --git a/VERSION b/VERSION index 821e3c85..099f29de 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.379 +8.3.380 diff --git a/calma/CalmaRdcl.c b/calma/CalmaRdcl.c index 6405f857..bdbbf45c 100644 --- a/calma/CalmaRdcl.c +++ b/calma/CalmaRdcl.c @@ -359,7 +359,7 @@ calmaParseStructure(filename) int mfactor; int locPolygonCount; OFFTYPE filepos; - bool was_called; + bool was_called = FALSE; bool was_initialized; bool predefined; bool do_flatten; diff --git a/ext2spice/ext2hier.c b/ext2spice/ext2hier.c index 7ad50c99..518221d1 100644 --- a/ext2spice/ext2hier.c +++ b/ext2spice/ext2hier.c @@ -2132,7 +2132,7 @@ esHierVisit(hc, cdata) /* Find the substrate node */ EFHierVisitNodes(hcf, spcsubHierVisit, (ClientData)&resstr); if (resstr == NULL) - resstr = esSpiceDefaultGnd; + resstr = StrDup((char **)NULL, esSpiceDefaultGnd); /* Output lumped capacitance and resistance to substrate */ esSpiceCapNode = resstr; diff --git a/ext2spice/ext2spice.c b/ext2spice/ext2spice.c index 5ac9f116..802c4209 100644 --- a/ext2spice/ext2spice.c +++ b/ext2spice/ext2spice.c @@ -1124,7 +1124,7 @@ runexttospice: /* Visit nodes to find the substrate node */ EFVisitNodes(spcsubVisit, (ClientData)&substr); if (substr == NULL) - substr = esSpiceDefaultGnd; + substr = StrDup((char **)NULL, esSpiceDefaultGnd); esSpiceCapNode = substr; EFVisitNodes(spcnodeVisit, (ClientData) NULL); @@ -1296,7 +1296,7 @@ main(argc, argv) EFVisitResists(spcresistVisit, (ClientData) NULL); EFVisitSubcircuits(subcktVisit, (ClientData) NULL); - esSpiceCapNode = esSpiceDefaultGnd; + esSpiceCapNode = StrDup((char **)NULL, esSpiceDefaultGnd); EFVisitNodes(spcnodeVisit, (ClientData) NULL); if ((esDoSubckt == TRUE) || (locDoSubckt == TRUE))