Memory Leak in the "Save Profile to Registry" Code

ID: Q245750


The information in this article applies to:
  • Microsoft Windows Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SYMPTOMS

There is a memory leak in the SaveProfileInfo function. If many users are logging on and logging off, and the system seems to be performing slowly, you may be experiencing this problem. The problem has been reported in Windows 2000 build 2176.


CAUSE

The SaveProfileInfo function calls GetUserGuid and returns a pointer that is named SidString, but it never frees the memory. If there are many hits in this code path, more and more memory is leaked.


RESOLUTION

This problem has been corrected in Windows 2000 build 2178.


STATUS

Microsoft has confirmed this to be a problem in Windows 2000 build 2176.

Additional query words:

Keywords : kbenv
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.