请问openurl会造成内存泄露吗?
代码如下:
CInternetSession sess;
CHttpFile *pFile;
pFile = (CHttpFile *)sess.OpenURL("http://community.csdn.net");
运行后提示有内存泄露
First-chance exception in network.exe (KERNEL32.DLL): 0x000006BA: (no name).
Detected memory leaks!
Dumping objects ->
strcore.cpp(118) : {82} normal block at 0x00421190, 16 bytes long.
Data: < GET > 01 00 00 00 03 00 00 00 03 00 00 00 47 45 54 00
Object dump complete.
请问应该怎么解决啊?