-
Bug
-
Resolution: Fixed
-
P3
-
6u10
-
b23
-
x86
-
windows_xp
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2199258 | 7 | Calvin Cheung | P3 | Closed | Fixed | b64 |
The Insure++ tool detects a memory leak in the WriteTimeStamp() method of RegCommon.cpp during running of an applet. The reported leak is a char array whose memory should be released prior to exiting the function.
The following report is generated by Insure++:
Runtime: Executing "IEXPLORE", pid=544
>> }
Memory leaked leaving scope: currentTimeStr
Lost block : 0x0e5b4cf8 thru 0x0e5b4dfb (260 bytes)
currentTimeStr, allocated at RegCommon.cpp, 132
_nh_malloc() (interface)
operator new()
WriteTimeStamp() ..\..\..\src\plugin\win32\regutils\RegCommon.cpp, 132
Java_com_sun_deploy_panel_PlatformSpecificUtils_getJqsSettings() ..\..\..\src\plugin\win32\regutils\RegJControl.cpp, 811
regutils.dll 0x04b19d11()
** routines compiled without debug info **
JNIEnv_::FindClass() jni.h, 776
CAxControl::FinalConstruct() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 92
ATL::CComCreator<ATL::CComObject<CAxControl> >::CreateInstance() atlcom.h, 1766
ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CAxControl> >,ATL::CComCreator<ATL::CComAggObject<CAxControl> > >::CreateInstance() atlcom.h, 1834
ATL::CComClassFactory::CreateInstance() atlcom.h, 3182
mshtml.dll 0x438ad18f()
** routines compiled without debug info **
DispatchMessageW() (interface)
IEFRAME.dll 0x42f8e693()
Stack trace where the error occurred:
WriteTimeStamp() ..\..\..\src\plugin\win32\regutils\RegCommon.cpp, 153
Java_com_sun_deploy_panel_PlatformSpecificUtils_getJqsSettings() ..\..\..\src\plugin\win32\regutils\RegJControl.cpp, 811
regutils.dll 0x04b19d11()
** routines compiled without debug info **
JNIEnv_::FindClass() jni.h, 776
CAxControl::FinalConstruct() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 92
ATL::CComCreator<ATL::CComObject<CAxControl> >::CreateInstance() atlcom.h, 1766
ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CAxControl> >,ATL::CComCreator<ATL::CComAggObject<CAxControl> > >::CreateInstance() atlcom.h, 1834
ATL::CComClassFactory::CreateInstance() atlcom.h, 3182
mshtml.dll 0x438ad18f()
** routines compiled without debug info **
DispatchMessageW() (interface)
IEFRAME.dll 0x42f8e693()
The following report is generated by Insure++:
Runtime: Executing "IEXPLORE", pid=544
>> }
Memory leaked leaving scope: currentTimeStr
Lost block : 0x0e5b4cf8 thru 0x0e5b4dfb (260 bytes)
currentTimeStr, allocated at RegCommon.cpp, 132
_nh_malloc() (interface)
operator new()
WriteTimeStamp() ..\..\..\src\plugin\win32\regutils\RegCommon.cpp, 132
Java_com_sun_deploy_panel_PlatformSpecificUtils_getJqsSettings() ..\..\..\src\plugin\win32\regutils\RegJControl.cpp, 811
regutils.dll 0x04b19d11()
** routines compiled without debug info **
JNIEnv_::FindClass() jni.h, 776
CAxControl::FinalConstruct() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 92
ATL::CComCreator<ATL::CComObject<CAxControl> >::CreateInstance() atlcom.h, 1766
ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CAxControl> >,ATL::CComCreator<ATL::CComAggObject<CAxControl> > >::CreateInstance() atlcom.h, 1834
ATL::CComClassFactory::CreateInstance() atlcom.h, 3182
mshtml.dll 0x438ad18f()
** routines compiled without debug info **
DispatchMessageW() (interface)
IEFRAME.dll 0x42f8e693()
Stack trace where the error occurred:
WriteTimeStamp() ..\..\..\src\plugin\win32\regutils\RegCommon.cpp, 153
Java_com_sun_deploy_panel_PlatformSpecificUtils_getJqsSettings() ..\..\..\src\plugin\win32\regutils\RegJControl.cpp, 811
regutils.dll 0x04b19d11()
** routines compiled without debug info **
JNIEnv_::FindClass() jni.h, 776
CAxControl::FinalConstruct() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 92
ATL::CComCreator<ATL::CComObject<CAxControl> >::CreateInstance() atlcom.h, 1766
ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CAxControl> >,ATL::CComCreator<ATL::CComAggObject<CAxControl> > >::CreateInstance() atlcom.h, 1834
ATL::CComClassFactory::CreateInstance() atlcom.h, 3182
mshtml.dll 0x438ad18f()
** routines compiled without debug info **
DispatchMessageW() (interface)
IEFRAME.dll 0x42f8e693()
- backported by
-
JDK-2199258 Memory leak in WriteTimeStamp() of RegCommon.cpp
- Closed