Skip to content
Snippets Groups Projects
Commit 22ef9cff authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Make sure the object linked list doesn't get corrupted when the object

alloc blocks are freed.

Rev: src/main.c:1.103
parent 55530f46
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\*/ \*/
/**/ /**/
#include "global.h" #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 "fdlib.h"
#include "backend.h" #include "backend.h"
#include "module.h" #include "module.h"
...@@ -746,9 +746,10 @@ void low_exit_main(void) ...@@ -746,9 +746,10 @@ void low_exit_main(void)
exit_destroy_called_mark_hash(); exit_destroy_called_mark_hash();
free_dynamic_load(); free_dynamic_load();
first_mapping=0;
free_all_mapping_blocks(); free_all_mapping_blocks();
first_object=0;
free_all_object_blocks(); free_all_object_blocks();
first_mapping=0;
#endif #endif
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment