--- deliantra/server/socket/init.C 2006/09/10 13:43:33 1.7 +++ deliantra/server/socket/init.C 2006/09/20 21:53:50 1.9 @@ -1,9 +1,3 @@ - -/* - * static char *rcsid_init_c = - * "$Id: init.C,v 1.7 2006/09/10 13:43:33 root Exp $"; - */ - /* CrossFire, A Multiplayer game for X-windows @@ -24,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - The author can be reached via e-mail to crossfire-devel@real-time.com + The author can be reached via e-mail to */ /** @@ -116,8 +110,6 @@ ns->mapmode = Map0Cmd; ns->darkness = 1; ns->status = Ns_Add; - ns->comment = NULL; - ns->old_mode = (Old_Mode) 0; ns->mapx = 11; ns->mapy = 11; ns->newmapcmd = 0; @@ -342,12 +334,13 @@ LOG (llevDebug, "Error closing socket %d\n", ns->fd); #endif } + if (ns->stats.range) free (ns->stats.range); + if (ns->stats.title) free (ns->stats.title); - if (ns->comment) - free (ns->comment); + free (ns->host); free (ns->inbuf.buf); }