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

25:   #define HUGE HUGE_VAL   #endif /*!HUGE*/    - RCSID("$Id: stralloc.c,v 1.83 2000/06/27 15:24:34 grubba Exp $"); + RCSID("$Id: stralloc.c,v 1.84 2000/07/06 23:25:26 mast Exp $");      #define BEGIN_HASH_SIZE 997   #define MAX_AVG_LINK_LENGTH 3
712:      void do_free_string(struct pike_string *s)   { +  if (s)    free_string(s);   }