--- cf.schmorp.de/server/common/arch.C 2006/09/10 13:20:12 1.15 +++ cf.schmorp.de/server/common/arch.C 2006/09/10 16:00:23 1.16 @@ -1,7 +1,7 @@ /* * static char *rcsid_arch_c = - * "$Id: arch.C,v 1.15 2006/09/10 13:20:12 root Exp $"; + * "$Id: arch.C,v 1.16 2006/09/10 16:00:23 root Exp $"; */ /* @@ -61,7 +61,8 @@ size_t, archetype *> HT; -static HT +static + HT ht; #endif @@ -425,7 +426,9 @@ else next = at->next; - delete at; + delete + at; + i++; } LOG (llevDebug, "Freed %d archetypes, %d faces\n", i, f); @@ -519,8 +522,7 @@ at->clone.arch = at; } - delete - at; + delete at; } /* @@ -618,7 +620,8 @@ LOG (llevDebug, "Reading archetypes from %s:\n", filename); { - object_thawer thawer (filename); + object_thawer + thawer (filename); clear_archetable (); LOG (llevDebug, " arch-pass 1...\n"); @@ -630,7 +633,8 @@ warn_archetypes = 1; { - object_thawer thawer (filename); + object_thawer + thawer (filename); LOG (llevDebug, " loading treasure...\n"); load_treasures ();