keep dico structure

This commit is contained in:
h_vogt
2009-04-12 18:04:47 +00:00
parent 6e7da31598
commit 12bf33431c
3 changed files with 13 additions and 2 deletions
+5 -1
View File
@@ -454,7 +454,10 @@ nupa_done (void)
}
nerrors = dico->errcount;
dictsize = donedico (dico);
/* We cannot remove dico here because numparam is usedby
the .measure statement, which is invoked only after the
simulation has finished */
/*
for (i = dynmaxline ; i >= 0; i--) {
dispose ((void *) dico->dynrefptr[i]);
}
@@ -466,6 +469,7 @@ nupa_done (void)
dispose ((void *) inst_dico->dyndat);
dispose ((void *) inst_dico);
inst_dico = NULL;
*/
if (nerrors)
{
/* debug: ask if spice run really wanted */
-1
View File
@@ -230,7 +230,6 @@ int
donedico (tdico * dico)
{
int sze = dico->nbd;
if (dico->dyndat) tfree(dico->dyndat);
return sze;
}