5g: fix memory corruption
5g: fix memory corruption

R=ken2
CC=golang-dev
http://codereview.appspot.com/5666043

wesolows/golang,wesolows/golang,firebitsbr/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang,wesolows/golang-old,wesolows/golang,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang-old,wesolows/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang,wesolows/golang,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang