strdup造句怎么写
- 造句
- 关注:5.46K次
当strdup在foo中被调用,这个namestr变量值就会被覆写,从而丢失main中内存分配的指针,导致渗漏。
When strdup is called in foo , the namestr variable value is overwritten, thereby losing the pointer to the memory allocated in main , and that causes the leak.
- 文章版权属于文章作者所有,转载请注明 https://zhongwengu.com/sentence/0wed2.html