Branch: Tag:

2001-09-06

2001-09-06 15:02:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 2221 (#2221)].

Rev: server/base_server/configuration.pike:1.485

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.484 2001/09/06 13:34:45 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.485 2001/09/06 15:02:59 grubba Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
2285:    if( objectp(m->file) )    {    res += m->file->read(); +  if (m->file) { +  // Some wrappers may destruct themselves in read()...    destruct(m->file); -  +  }    m->file = 0;    }