PRB: Cannot Free ResUtilGetEnvironmentWithNetName() BufferLast reviewed: March 18, 1998Article ID: Q182660 |
The information in this article applies to:
SYMPTOMSResUtilGetEnvironmentWithNetName() allocates and returns a buffer. There is no corresponding function to release the allocated memory.
CAUSEThe routine used to allocate the memory is an internal function, as is the corresponding routine that is used to free the memory block.
RESOLUTIONYou can avoid the problem by allocating the memory for the new environment yourself and setting the _CLUSTER_NETWORK_NAME_ environment variable to the network name associated with the resource. See the REFERENCES section for more information on getting the current environment and finding the network name for the resource.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
REFERENCESGetClusterResourceNetworkName() GetEnvironmentStrings() Keywords : kbcluster Version : WINNT:4.0 Platform : winnt Issue type : kbprb Solution Type : kbpending |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |