Should I free all of IntPtr's with FreeHGlobal once I'm done with them?

前端 未结 0 1839
醉话见心
醉话见心 2021-01-20 04:58

I have a lot of IntPtr\'s in my project, some of them have been returned from a my dll, hence, I have not allocated memory for them using Marshal.AllocHGlobal()

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