Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You encounter a memory leak issue when an application calls the WinHttpGetProxyForUrl function in Windows 7 or in Windows Server 2008 R2


View products that this article applies to.

Symptoms

Assume that you develop an application that makes use of the WinHTTP Web Proxy Auto-Discovery Service (WinHttpAutoProxySvc) or calls the WinHttpGetProxyForUrl function. When you run this application on a computer that is running Windows 7 or Windows Server 2008 R2, you encounter a memory leak issue.

Note The memory leak issue is in the WinHTTP Web Proxy Auto-Discovery Service (WinHttpAutoProxySvc) host process. The issue occurs when the WinHttpGetProxyForUrl function is called. Therefore, the memory usage of the process increases every time that the WinHttpGetProxyForUrl function is called.

↑ Back to the top


Cause

This issue occurs because the cleanup code is not executed in DLL_PROCESS_DETACH when the Jscript.dll file is dynamically unloaded.

↑ Back to the top


Resolution

To resolve this issue, install one of the following updates, depending on your operating system:You can also install the following security update to resolve this issue. 

Security update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to the following Microsoft website: For more technical information about the most recent cumulative security update for Internet Explorer, go to the following Microsoft website: 
Note This update was first included in security update 2699988. For more information about the security update, click the following article number to view the article in the Microsoft Knowledge Base:
2699988 MS12-037: Cumulative security update for Internet Explorer: June 12, 2012

↑ Back to the top


Keywords: kbqfe, kbhotfixserver, kbfix, kbsurveynew, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2703157
Revision : 2
Created on : 4/10/2020
Published on : 4/10/2020
Exists online : False
Views : 315