mirror of
https://github.com/golang/go
synced 2024-10-04 05:21:22 -06:00
1192c175fe
It turns out that _cgo_malloc is used, via cmalloc in runtime/cgocall.c, which is called by code generated by out.go for the ·_C_CString function. I can't find a call to _cgo_free, but given _cgo_malloc we might as well keep _cgo_free. This patch fixes it so that it should work on amd64. R=rsc CC=golang-dev https://golang.org/cl/1399041 |
||
---|---|---|
.. | ||
ast.go | ||
doc.go | ||
gcc.go | ||
main.go | ||
Makefile | ||
out.go | ||
util.go |