-
Ian Lance Taylor authored
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
1192c175
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
386.S | ||
Makefile | ||
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 | ||
nacl_386.c | ||
util.c | ||
windows_386.c | ||
windows_amd64.c |