Branch: Tag:

1998-05-25

1998-05-25 19:00:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed reference counting bug.

Rev: src/program.c:1.94

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.93 1998/05/25 16:40:05 grubba Exp $"); + RCSID("$Id: program.c,v 1.94 1998/05/25 19:00:37 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
2065:    }    if (IDENTIFIER_IS_CONSTANT(id->identifier_flags)) {    struct program *p2 = PROG_FROM_INT(p, e); -  *to = *(p2->constants + id->func.offset); +  assign_svalue_no_free(to, (p2->constants + id->func.offset));    return;    } else {    if (s->len < 1024) {