JDK-6241623 : Memory leak while accessing desktop properties on WinXP
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2005-03-16
  • Updated: 2010-04-03
  • Resolved: 2005-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
1.4.2_09 b01Fixed
This is specific to 1.4.2_xxx update releases and is only on WinXP.

There is a small memory leak whenever the query to a desktop registry key is accessed and fails. The handle to key is not released in such a case.

The bug is in function call getXPStylePropFromReg((char* valueName) in 

The handles are released appropriately at the right places in tiger update releases and mustang.

###@###.### 2005-03-16 17:57:06 GMT

EVALUATION Need to fix as suggested in the description. ###@###.### 2005-03-16 18:26:59 GMT