Branch: Tag:

2000-09-30

2000-09-30 19:40:39 by Martin Stjernholm <mast@lysator.liu.se>

Make sure the object linked list doesn't get corrupted when the object
alloc blocks are freed.

Rev: src/main.c:1.103

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.102 2000/09/28 15:37:25 grubba Exp $"); + RCSID("$Id: main.c,v 1.103 2000/09/30 19:40:39 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
746:    exit_destroy_called_mark_hash();       free_dynamic_load(); +  first_mapping=0;    free_all_mapping_blocks(); -  +  first_object=0;    free_all_object_blocks(); -  first_mapping=0; +    #endif   }