]> Cypherpunks repositories - gostls13.git/commit
gob: fix allocation for singletons.
authorRob Pike <r@golang.org>
Tue, 20 Sep 2011 18:28:00 +0000 (11:28 -0700)
committerRob Pike <r@golang.org>
Tue, 20 Sep 2011 18:28:00 +0000 (11:28 -0700)
commit9ddc2b5688163d6ad1f5e83a53e6151a69f9f700
tree30e70bcdc26569b62d2592f5e4df9c5f53c7336e
parentc55d0c4dd7947433a21171ccd4ad90592d8b04e7
gob: fix allocation for singletons.
Code was double-allocating in some cases.
Fixes #2267.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5093042
src/pkg/gob/decode.go
src/pkg/gob/gobencdec_test.go