commit | 5564504507c9b307840a5d13d9700d46e2a8524d | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Tue Jan 06 15:19:02 2009 -0800 |
committer | Russ Cox <rsc@golang.org> | Tue Jan 06 15:19:02 2009 -0800 |
tree | f3f98baba1fdd5e0138a4875884aa85111308b3f | |
parent | 9662e7b2db0fa8c2bb4d8cf28940116763eedbc9 [diff] [blame] |
new new & make R=r OCL=22166 CL=22166
diff --git a/test/mallocrep1.go b/test/mallocrep1.go index ae54ab8..f048647 100644 --- a/test/mallocrep1.go +++ b/test/mallocrep1.go
@@ -96,7 +96,7 @@ func main() { flag.Parse(); - b = new([]*byte, 10000); + b = make([]*byte, 10000); if flag.NArg() > 0 { AllocAndFree(atoi(flag.Arg(0)), atoi(flag.Arg(1))); return;