- // on a rehash we delete our classes for good measure and create them again.
- DELETE(Conf);
- Conf = new ConfigReader;
- // re-read our config options on a rehash
- FirstInGetsFounder = Conf->ReadFlag("options","noservices",0);
+ /* Create a configreader class and read our flag,
+ * in old versions this was heap-allocated and the
+ * object was kept between rehashes...now we just
+ * stack-allocate it locally.
+ */
+ ConfigReader Conf;
+
+ FirstInGetsFounder = Conf.ReadFlag("options","noservices",0);