diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2012-03-01 17:36:35 +1100 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2012-03-01 17:36:35 +1100 |
| commit | ed238ca4e5e94cbbc0b2d0922e5ae1df2247ca68 (patch) | |
| tree | 03a4771a26266a805b407d204ae181537e529602 /src/pkg/os/os_test.go | |
| parent | 532c1b451b0b3e0ca05a29d2d297438b6dc2cf87 (diff) | |
| download | go-git-ed238ca4e5e94cbbc0b2d0922e5ae1df2247ca68.tar.gz | |
os: release process handle at the end of windows (*Process).Wait
Fixes #3154.
R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5707052
Diffstat (limited to 'src/pkg/os/os_test.go')
| -rw-r--r-- | src/pkg/os/os_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index 02f75b2a73..d1e241f006 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -530,7 +530,6 @@ func exec(t *testing.T, dir, cmd string, args []string, expect string) { if err != nil { t.Fatalf("StartProcess: %v", err) } - defer p.Release() w.Close() var b bytes.Buffer @@ -848,7 +847,6 @@ func run(t *testing.T, cmd []string) string { if err != nil { t.Fatal(err) } - defer p.Release() w.Close() var b bytes.Buffer |
