aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.c
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2013-03-20 23:42:00 +1100
committerDave Cheney <dave@cheney.net>2013-03-20 23:42:00 +1100
commitf701e1c32043116448e7227ee598b21e00ce42c7 (patch)
tree76148f461147c02532aaafea70bd4f80bfa0c2bd /src/pkg/runtime/runtime.c
parentb35019fe9ad730216bacc665fa8144c49be695ad (diff)
downloadgo-f701e1c32043116448e7227ee598b21e00ce42c7.tar.xz
cmd/6c, cmd/8c: fix stack allocated Biobuf leaking at exit
Fixes #5085. {6,8}c/swt.c allocates a third Biobuf in automatic memory which is not terminated at the end of the function. This causes the buffer to be 'in use' when the batexit handler fires, confusing valgrind. Huge thanks to DMorsing for the diagnosis. R=golang-dev, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/7844044
Diffstat (limited to 'src/pkg/runtime/runtime.c')
0 files changed, 0 insertions, 0 deletions