memory leak removed

This commit is contained in:
h_vogt 2009-04-10 12:20:55 +00:00
parent 3f7201376c
commit 6e7da31598
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2009-04-10 Holger Vogt
* spicenum.c: memory leak removed
2009-04-05 Holger Vogt
* com_fft.c, inpcom.c, variable.c, variable.h, resource.c, cpitf.c,
plotit.c, inpgtok.c:

View File

@ -460,10 +460,12 @@ nupa_done (void)
}
dispose ((void *) dico->dynrefptr);
dispose ((void *) dico->dyncategory);
dispose ((void *) dico->dyndat);
dispose ((void *) dico);
dico = NULL;
dispose ((void *) inst_dico->dyndat);
dispose ((void *) inst_dico);
inst_dico = NULL;
inst_dico = NULL;
if (nerrors)
{
/* debug: ask if spice run really wanted */