Branch: Tag:

2000-07-06

2000-07-06 23:25:26 by Martin Stjernholm <mast@lysator.liu.se>

Added some do_free_* functions and made them accept a zero argument.

Rev: src/array.c:1.75
Rev: src/mapping.c:1.91
Rev: src/mapping.h:1.26
Rev: src/multiset.c:1.23
Rev: src/multiset.h:1.12
Rev: src/object.c:1.132
Rev: src/stralloc.c:1.84

16:   #include "gc.h"   #include "security.h"    - RCSID("$Id: multiset.c,v 1.22 2000/06/09 22:43:04 mast Exp $"); + RCSID("$Id: multiset.c,v 1.23 2000/07/06 23:25:26 mast Exp $");      struct multiset *first_multiset;   
70:    GC_FREE();   }    + void do_free_multiset(struct multiset *l) + { +  if (l) +  free_multiset(l); + }    -  +    void order_multiset(struct multiset *l)   {    INT32 *order;