]> Cypherpunks repositories - gostls13.git/commit
runtime: zero a few more dead pointers.
authorKeith Randall <khr@golang.org>
Thu, 9 Oct 2014 00:22:34 +0000 (17:22 -0700)
committerKeith Randall <khr@golang.org>
Thu, 9 Oct 2014 00:22:34 +0000 (17:22 -0700)
commitb02450da0227c757205fd16b6648bddceb980d83
treedcd82124e336a5e8b143f2bb8fcb1b6937348ea5
parent060b24006a7efbd4ec9d966759482428a421cbe8
runtime: zero a few more dead pointers.

In channels, zeroing of gp.waiting is missed on a closed channel panic.
m.morebuf.g is not zeroed.

I don't expect the latter causes any problems, but just in case.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/151610043
src/runtime/chan.go
src/runtime/stack.c