Index: child_info.h =================================================================== RCS file: /cvs/src/src/winsup/cygwin/child_info.h,v retrieving revision 1.69 diff -u -p -r1.69 child_info.h --- child_info.h 6 Jul 2006 17:16:36 -0000 1.69 +++ child_info.h 17 Aug 2006 20:01:55 -0000 @@ -122,7 +122,8 @@ public: cfree (*e); cfree (moreinfo->envp); } - CloseHandle (moreinfo->myself_pinfo); + if (moreinfo->myself_pinfo) + CloseHandle (moreinfo->myself_pinfo); cfree (moreinfo); } }