Cleanup of a number of uninitialized variable issues flagged by

the compiler.  Some are obscure functions (plot verstatec hasn't
been used in years) but others (like SPICE distributed junctions)
are potentially significant sources of unexpected crashes on
systems that don't zero uninitialized memory.
This commit is contained in:
Tim Edwards
2019-06-07 14:13:50 -04:00
parent 53078588ae
commit 547f0448d9
8 changed files with 14 additions and 11 deletions
+1
View File
@@ -196,6 +196,7 @@ PlotFreeRaster(raster)
* have been created with PlotNewRaster.
*/
{
if (raster == NULL) return;
freeMagic((char *) raster->ras_bits);
freeMagic((char *) raster);
}