diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-03-18 09:52:39 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-03-18 09:52:39 -0700 |
| commit | 9db0583007e1f644b16d957c2e567ad5e5922338 (patch) | |
| tree | 8a404141887fcefdec7a3f2d2d5db93cb5af3ca6 /src/pkg/database/sql/sql_test.go | |
| parent | 7f50c23e2d18c445bfe790692e998ff91b37ddc2 (diff) | |
| download | go-9db0583007e1f644b16d957c2e567ad5e5922338.tar.xz | |
os/exec: fix fd leak with Std*Pipe + LookPath
If LookPath in Command fails, sets a sticky error, and then
StdinPipe, StdoutPipe, or StderrPipe were called, those pipe
fds were never cleaned up.
Fixes #5071
R=golang-dev, rogpeppe
CC=golang-dev
https://golang.org/cl/7799046
Diffstat (limited to 'src/pkg/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
