To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68973 Issue #|68973 Summary|leaks: toolkit and destroying VCLXWindow Component|gsl Version|680m182 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|pl Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Sat Aug 26 06:19:48 -0700 2006 ------- Hi, while debugging Mac OS X native port's svdem with added FullScreen function for testing, I realized that VCLXWindow class leaks 48 bytes: Leak: 0x0313ffb0 size=48 0x06318348 0x00000001 0x027eb308 0x007e84ec .1.H.....~...~.. 0x00000000 0x00000000 0x00000000 0x00000000 ................ 0x00000000 0x00000000 0x0313fea0 0x00000003 ................ Call stack: [thread 2717]: | 0x0 | start | _start | sal_main | Main() | Application::Execute() | Application::Yield(bool) | AquaSalInstance::Yield(bool, bool) | SendEventToEventTarget | SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) | DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) | ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) | HandleMouseEvent(OpaqueEventRef*) | HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned short) | SendEventToEventTarget | SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) | DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) | HandleMouseUpDownEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) | ImplWindowFrameProc(void*, SalFrame*, unsigned short, void const*) | ImplHandleMouseEvent(Window*, unsigned short, unsigned char, long, long, unsigned long, unsigned short, unsigned short) | MenuBarWindow::ChangeHighlightItem(unsigned short, unsigned char, unsigned char, unsigned char) | MenuBarWindow::ImplCreatePopup(unsigned char) | PopupMenu::ImplExecute(Window*, Rectangle const&, unsigned long, Menu*, unsigned char) | MenuFloatingWindow::MenuFloatingWindow[in-charge](Menu*, Window*, long long) | FloatingWindow::FloatingWindow[not-in-charge](Window*, long long) | FloatingWindow::ImplInit(Window*, long long) | ImplBorderWindow::ImplBorderWindow[in-charge](Window*, long long, unsigned short) | ImplBorderWindow::ImplInit(Window*, long long, unsigned short, SystemParentData*) | Window::ImplInit(Window*, long long, SystemParentData*) | Window::IsTopWindow() const | Window::GetComponentInterface(unsigned char) | UnoWrapper::GetWindowInterface(Window*, unsigned char) | CreateXWindow(Window*) | VCLXWindow::VCLXWindow[in-charge]() | operator new(unsigned long) I think that the destructor of VCLXWindow is missing call to mpImpl->release(). Consider this as PATCH issue then ;-) --------------------------------------------------------------------- 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]