summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2006-03-16 08:30:23 -0800
committerSteve Peters <steve@fisharerojo.org>2006-03-17 04:29:30 +0000
commitdb2fab4887d7a0167a72ea9848aab50a7132bbbb (patch)
tree8a1907bc1f037bb3c89e8345418b4603ca980ff9 /win32
parentc71e9bcc0530c131e1aaebb9356d24631b39217c (diff)
downloadperl-db2fab4887d7a0167a72ea9848aab50a7132bbbb.tar.gz
win32_pclose() error exit doesn't unlock mutex
Message-ID: <02c701c64959$fac63ad0$6062a8c0@candy> p4raw-id: //depot/perl@27528
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index e2b6e0bb15..240aa6284d 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2818,6 +2818,7 @@ win32_pclose(PerlIO *pf)
childpid = 0;
if (!childpid) {
+ UNLOCK_FDPID_MUTEX;
errno = EBADF;
return -1;
}