projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6447965
)
Fix file descriptor leak on PAL_IsDebuggerPresent (#6958)
author
Oguz Bastemur
<obastemur@users.noreply.github.com>
Mon, 29 Aug 2016 17:53:00 +0000
(19:53 +0200)
committer
Jan Kotas
<jkotas@microsoft.com>
Mon, 29 Aug 2016 17:53:00 +0000
(10:53 -0700)
src/pal/src/init/pal.cpp
patch
|
blob
|
history
diff --git
a/src/pal/src/init/pal.cpp
b/src/pal/src/init/pal.cpp
index
d14b64b
..
a5edb36
100644
(file)
--- a/
src/pal/src/init/pal.cpp
+++ b/
src/pal/src/init/pal.cpp
@@
-705,6
+705,8
@@
PAL_IsDebuggerPresent()
}
}
+ close(status_fd);
+
return debugger_present;
#elif defined(__APPLE__)
struct kinfo_proc info = {};