Index: cygwin/grp.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/grp.cc,v
retrieving revision 1.81
diff -u -u -p -r1.81 grp.cc
--- cygwin/grp.cc	30 Jun 2003 13:07:36 -0000	1.81
+++ cygwin/grp.cc	8 Aug 2003 18:29:44 -0000
@@ -75,7 +75,10 @@ pwdgrp::read_group ()
 {
   for (int i = 0; i < gr.curr_lines; i++)
     if ((*group_buf)[i].gr_mem != &null_ptr)
-      free ((*group_buf)[i].gr_mem);
+      {
+        free ((*group_buf)[i].gr_mem);
+        (*group_buf)[i].gr_mem = &null_ptr;
+      }
 
   load ("/etc/group");
 
