Branch: Tag:

2001-07-03

2001-07-03 02:39:12 by David Hedbor <david@hedbor.org>

Added do_free_mapping.

Rev: src/mapping.c:1.76
Rev: src/mapping.h:1.24

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.75 2001/02/08 00:53:02 mast Exp $"); + RCSID("$Id: mapping.c,v 1.76 2001/07/03 02:39:12 david%hedbor.org Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
209:    free((char *) md);   }    + void do_free_mapping(struct mapping *m) + { +  if (m) +  free_mapping(m); + } +  +    /* This function is used to rehash a mapping without loosing the internal    * order in each hash chain. This is to prevent mappings from becoming    * inefficient just after being rehashed.