mirror of
https://github.com/golang/go
synced 2024-11-25 13:38:00 -07: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 |
||
---|---|---|
.. | ||
386.S | ||
amd64.S | ||
darwin_386.c | ||
darwin_amd64.c | ||
freebsd_386.c | ||
freebsd_amd64.c | ||
libcgo.h | ||
linux_386.c | ||
linux_amd64.c | ||
linux_arm.c | ||
Makefile | ||
nacl_386.c | ||
util.c | ||
windows_386.c | ||
windows_amd64.c |