Skip to content
Snippets Groups Projects
Commit 84c9ccc9 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix in exit()

Rev: src/callback.c:1.2
Rev: src/main.c:1.11
parent ceefacf8
No related branches found
No related tags found
No related merge requests found
...@@ -124,4 +124,5 @@ void cleanup_callbacks() ...@@ -124,4 +124,5 @@ void cleanup_callbacks()
callback_chunks=tmp->next; callback_chunks=tmp->next;
free((char *)tmp); free((char *)tmp);
} }
free_callbacks=0;
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
||| See the files COPYING and DISCLAIMER for more information. ||| See the files COPYING and DISCLAIMER for more information.
\*/ \*/
#include "global.h" #include "global.h"
RCSID("$Id: main.c,v 1.10 1996/11/14 01:24:12 hubbe Exp $"); RCSID("$Id: main.c,v 1.11 1996/11/22 20:58:23 hubbe Exp $");
#include "types.h" #include "types.h"
#include "backend.h" #include "backend.h"
#include "module.h" #include "module.h"
...@@ -281,12 +281,12 @@ void exit_main() ...@@ -281,12 +281,12 @@ void exit_main()
cleanup_added_efuns(); cleanup_added_efuns();
cleanup_pike_types(); cleanup_pike_types();
cleanup_program(); cleanup_program();
cleanup_callbacks();
#ifdef GC2 #ifdef GC2
do_gc(); do_gc();
#endif #endif
cleanup_callbacks();
zap_all_arrays(); zap_all_arrays();
cleanup_shared_string_table(); cleanup_shared_string_table();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment