summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/spawn.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-27 06:06:06 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-27 06:06:06 +0000
commite1bfb483ea6056fa964d2e2b983b68147a0c5920 (patch)
tree409d5006888f4173c770673fa3df19095640f252 /winsup/cygwin/spawn.cc
parent90c01ac9dfb0ce6cc126e4977cf171a946c5728f (diff)
downloadcygnal-e1bfb483ea6056fa964d2e2b983b68147a0c5920.tar.gz
cygnal-e1bfb483ea6056fa964d2e2b983b68147a0c5920.tar.bz2
cygnal-e1bfb483ea6056fa964d2e2b983b68147a0c5920.zip
* 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.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc1
1 files changed, 1 insertions, 0 deletions
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;
}