aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@canonical.com>2017-02-10 13:08:13 +1300
committerRuss Cox <rsc@golang.org>2017-02-10 17:22:07 +0000
commit066ac428cdcb0b220a8a58f31c884d054cecd118 (patch)
tree63589b2c46958dcd67482dd9d8f40ce9fb1c14e2 /src/runtime
parent78e6abd244eb4f75180fdb3bc72d69a2f471feca (diff)
downloadgo-066ac428cdcb0b220a8a58f31c884d054cecd118.tar.xz
reflect: clear ptrToThis in Ptr when allocating result on heap
Otherwise, calling PtrTo on the result will fail. Fixes #19003 Change-Id: I8d7d1981a5d0417d5aee52740469d71e90734963 Reviewed-on: https://go-review.googlesource.com/36731 Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions