Branch: Tag:

1999-09-19

1999-09-19 21:11:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix.

Rev: src/las.c:1.90

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.89 1999/09/19 21:00:29 grubba Exp $"); + RCSID("$Id: las.c,v 1.90 1999/09/19 21:11:47 grubba Exp $");      #include "language.h"   #include "interpret.h"
2401:       while(new_program->num_constants > num_constants)    { +  struct program_constant *p_const; +     new_program->num_constants--; -  free_svalue(&new_program->constants[new_program->num_constants].sval); +  +  p_const = new_program->constants + new_program->num_constants; +  +  free_svalue(&p_const->sval); +  if (p_const->name) { +  free_string(p_const->name); +  p_const->name = NULL;    } -  +  }       new_program->num_program=jump;