Branch: Tag:

1999-08-16

1999-08-16 18:35:22 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

memory leak fixed

Rev: src/operators.c:1.57

6:   /**/   #include "global.h"   #include <math.h> - RCSID("$Id: operators.c,v 1.56 1999/08/14 09:00:14 hubbe Exp $"); + RCSID("$Id: operators.c,v 1.57 1999/08/16 18:35:22 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"
950:    {    struct array *a;    a=merge_array_with_order(sp[-2].u.array, sp[-1].u.array, PIKE_ARRAY_OP_OR); -  sp-=2; /* Refs are eaten by function above */ +  pop_n_elems(2);    push_array(a);    return;    }
1043:    {    struct array *a;    a=merge_array_with_order(sp[-2].u.array, sp[-1].u.array, PIKE_ARRAY_OP_XOR); -  sp-=2; /* Refs are eaten by function above */ +  pop_n_elems(2);    push_array(a);    return;    }