Branch: Tag:

2003-06-02

2003-06-02 16:35:28 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a leak that affected `- and `& between mappings and arrays or
multisets.

Rev: src/mapping.c:1.126

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.125 2003/01/29 15:55:25 mast Exp $"); + RCSID("$Id: mapping.c,v 1.126 2003/06/02 16:35:28 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
1407:    {    zipper=get_set_order(b);    b_temp=reorder_and_copy_array(b,zipper); +  free (zipper);    SET_ONERROR(r1,do_free_array,b_temp);    m=merge_mapping_array_ordered(a,b_temp,op);    UNSET_ONERROR(r1); free_array(b_temp);