Branch: Tag:

2000-04-17

2000-04-17 16:42:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Use SET_NEXT_AND_FREE() some more.

Rev: src/mapping.c:1.77

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.76 2000/04/16 22:25:06 hubbe Exp $"); + RCSID("$Id: mapping.c,v 1.77 2000/04/17 16:42:16 grubba Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
1926:    m->data->refs++;       unlink_mapping_data(md); -  next=m->next; +    #ifdef PIKE_DEBUG    m->debug_size=0;   #endif -  -  free_mapping(m); +  SET_NEXT_AND_FREE(m, free_mapping);    }    else if(m->flags & MAPPING_FLAG_WEAK)    {