Golang free allocated memory of array of c structs

后端 未结 0 1296
走了就别回头了
走了就别回头了 2021-02-10 07:18

I am looking for a way to free the memory of the allocated c struct in Go. I tried to free the memory using C.free but it threw a malloc: *** error for object 0xc00024dfb0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题