p := C.getString()
s := C.GoString(p)
C.free(unsafe.Pointer(p))
Russ
Unfortunately, no. Please file an issue.
Russ
You should only free it if it's your job to free it,
like in any C program. Whether the pointer is
const or not is a completely separate issue.
Russ