Article ID: 235601 - Last Review: September 6, 2005 - Revision: 3.0 BUG: Putenv() function may cause memory leak when the function is used to remove or to replace an environment variable in Visual C++
This article was previously published under Q235601 On This PageSYMPTOMS
A memory leak results from calls to putenv in the following circumstances:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. This problem was corrected in Microsoft Visual C++ .NET. MORE INFORMATIONSteps to Reproduce BehaviorThe following sample code demonstrates the types of calls that will cause a memory leak.APPLIES TO
| Other Resources Other Support Sites
CommunityArticle Translations |





















Back to the top