--- deliantra/server/common/treasure.C 2006/09/03 00:18:40 1.7 +++ deliantra/server/common/treasure.C 2006/09/03 08:05:39 1.8 @@ -1,7 +1,7 @@ /* * static char *rcs_treasure_c = - * "$Id: treasure.C,v 1.7 2006/09/03 00:18:40 root Exp $"; + * "$Id: treasure.C,v 1.8 2006/09/03 08:05:39 root Exp $"; */ /* @@ -1810,7 +1810,8 @@ free_treasurestruct (t->next_yes); if (t->next_no) free_treasurestruct (t->next_no); - free (t); + + delete t; } void