以下代码显示了DNS客户端中缓存的域名。有人可以帮我找到内存泄漏时的intstat=DnsGetCacheDataTable(pEntry);行吗?PS:编译代码时请使用DNSAPI.lib。#include"stdafx.h"#include#include#include#include#includetypedefstruct_DNS_CACHE_ENTRY{struct_DNS_CACHE_ENTRY*pNext;//PointertonextentryPWSTRpszName;//DNSRecordNameunsignedshortwType;//DNSRecordTypeu