Insure++ reports a potential native memory leak in the new java plugin module for IE.
It reports that the jp2iexp.dll instantiates a COM object but never releases it upon leaving a page with an applet to another page without an applet.
The following report from Insure++:
3 outstanding memory references for 156 bytes.
Leaks detected at exit
----------------------
156 bytes 3 chunks allocated at atlcom.h, 1761
operator new() (interface)
ATL::CComCreator<ATL::CComObject<CJavaDispatch> >::CreateInstance() atlcom.h, 1761
ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CJavaDispatch> >,ATL::CComCreator<ATL::CComAggObject<CJavaDispatch> > >::CreateInstance() atlcom.h, 1834
ATL::CComCoClass<CJavaDispatch,&CLSID_CJavaDispatch>::CreateInstance<IDispatch>() atlcom.h, 3457
Java_sun_plugin2_main_server_IExplorerPlugin_allocateIDispatchForJavaNameSpace() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 1767
jp2iexp.dll 0x04b19d11()
** routines compiled without debug info **
JNIEnv_::CallBooleanMethod() jni.h, 901
CAxControl::IOleObject_SetClientSite() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 628
ATL::IOleObjectImpl<CAxControl>::SetClientSite() atlctl.h, 2058
mshtml.dll 0x437b2419()
** routines compiled without debug info **
DispatchMessageW() (interface)
IEFRAME.dll 0x42f8e693()
It reports that the jp2iexp.dll instantiates a COM object but never releases it upon leaving a page with an applet to another page without an applet.
The following report from Insure++:
3 outstanding memory references for 156 bytes.
Leaks detected at exit
----------------------
156 bytes 3 chunks allocated at atlcom.h, 1761
operator new() (interface)
ATL::CComCreator<ATL::CComObject<CJavaDispatch> >::CreateInstance() atlcom.h, 1761
ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CJavaDispatch> >,ATL::CComCreator<ATL::CComAggObject<CJavaDispatch> > >::CreateInstance() atlcom.h, 1834
ATL::CComCoClass<CJavaDispatch,&CLSID_CJavaDispatch>::CreateInstance<IDispatch>() atlcom.h, 3457
Java_sun_plugin2_main_server_IExplorerPlugin_allocateIDispatchForJavaNameSpace() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 1767
jp2iexp.dll 0x04b19d11()
** routines compiled without debug info **
JNIEnv_::CallBooleanMethod() jni.h, 901
CAxControl::IOleObject_SetClientSite() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 628
ATL::IOleObjectImpl<CAxControl>::SetClientSite() atlctl.h, 2058
mshtml.dll 0x437b2419()
** routines compiled without debug info **
DispatchMessageW() (interface)
IEFRAME.dll 0x42f8e693()