To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=50238 Issue #:|50238 Summary:|memory leaks in database settings tab pages' |ISaveValueWrapper implementations Component:|Database access Version:|680m106 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|none Assigned to:|oj Reported by:|fs
------- Additional comments from [EMAIL PROTECTED] Thu Jun 2 06:22:39 -0700 2005 ------- looking at the code in dbaccess/source/ui/dlg/*, there are various places where classes implementing the ISaveValueWrapper interface are created. However, it seems they are never destroyed, which means there are memory leaks. For instance: OGenericAdministrationPage::postInitControls calls fillControls, which usually does something like _rControlList.push_back( new OSaveValueWrapper<...>( ... ) ) Since _all those ISaveValueWrapper instances are transported via a |::std::vector< ISaveValueWrapper* >| (in fillWindows and fillControls), and ISaveValueWrapper does not even have a virtual destructor, this means that we have a memory leak here. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]