Update of /cvsroot/netrek/client/netrekxp/src
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1227

Modified Files:
	socket.c 
Log Message:
Remove ranks struct from reinit and free ranks, as it is
handled elsewhere.  Ranks2 struct for paradise continues
to use these functions though.

Index: socket.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/socket.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- socket.c	29 May 2009 22:05:41 -0000	1.65
+++ socket.c	30 May 2009 16:03:38 -0000	1.66
@@ -3711,20 +3711,13 @@
 void
 free_ranks(void)
 {
+    // Only used by paradise (when receive GPsizes packet)
     int i;
-    for (i = 0; i < nranks; i++)
-    {
-        if (ranks[i].name)
-            free(ranks[i].name);
-        if (ranks[i].cname)
-            free(ranks[i].cname);
-    }
+
     for (i = 0; i < nranks2; i++)
         if (ranks2[i].name)
             free(ranks2[i].name);
-    free(ranks);
     free(ranks2);
-    ranks = 0;
     ranks2 = 0;
 }