From e1bfb483ea6056fa964d2e2b983b68147a0c5920 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 27 Jan 2006 06:06:06 +0000 Subject: * exceptions.cc (inside_kernel): Fix to return true if we can't get the name of the DLL for the given memory block since we are not in kernel code. --- winsup/cygwin/spawn.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/spawn.cc') diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 0f6ec4360..4e5982ce8 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -731,6 +731,7 @@ spawn_guts (const char * prog_arg, const char *const *argv, myself->exec_sendsig = NULL; } res = -1; + CloseHandle (moreinfo->myself_pinfo); goto out; } -- cgit v1.2.3