Branch: Tag:

2001-09-09

2001-09-09 05:18:46 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

fixed a dmalloc warning (not really a leak)

Rev: src/main.c:1.136

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.135 2001/08/22 10:19:52 grubba Exp $"); + RCSID("$Id: main.c,v 1.136 2001/09/09 05:18:46 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
792: Inside #if defined(DO_PIKE_CLEANUP)
   void exit_iterators(void);    void exit_backend(void);    void cleanup_pike_type_table(void); +  void destruct_objects_to_destruct_cb(void);      #ifdef AUTO_BIGNUM    void exit_auto_bignum(void);
874: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(PIKE_DEBUG) && defined(DEBUG_MALLOC)
   fprintf(stderr,"Multisets left: %d (%d bytes)\n",num,size);       +  destruct_objects_to_destruct_cb();    if(recount)    { -  +     fprintf(stderr,"Garbage collecting..\n");    do_gc();   
921: Inside #if defined(DO_PIKE_CLEANUP)
   zap_all_arrays();    zap_all_mappings();    +  destruct_objects_to_destruct_cb();   #endif       really_clean_up_interpret();