Closed Bug 3564 Opened 26 years ago Closed 26 years ago

MLK: GTK code, leaking vertical scrollbar

Categories

(Core :: Layout: Form Controls, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: ramiro)

Details

Memory leak.  Pull from March 8, 1999 at about 6pm PST. Solaris 2.6. GTK 1.2.0.
gcc 2.7.2.3 and purify.

MLK: 1344 bytes leaked in 14 blocks
  * This memory was allocated from:
        malloc         [rtlib.o]
        calloc         [rtlib.o]
        g_malloc0      [gmem.c:242]
        gtk_type_new   [gtktypeutils.c:374]
        gtk_widget_new [gtkwidget.c:1056]
        gtk_vscrollbar_new [gtkvscrollbar.c:178]
        nsDeviceContextGTK::GetScrollBarDimensions(float&,float&)const
[nsDeviceContextGTK.cpp:97]
        nsScrollingView::SetDimensions(int,int,int) [nsScrollingView.cpp:400]
        nsViewManager::ResizeView(nsIView*,int,int) [nsViewManager.cpp:1672]
        nsFrame::DidReflow(nsIPresContext&,int) [nsFrame.cpp:994]
        nsScrollFrame::DidReflow(nsIPresContext&,int) [nsScrollFrame.cpp:99]
        ViewportFrame::Reflow(nsIPresContext&,nsHTMLReflowMetrics&,const
nsHTMLReflowState&,unsigned int&) [nsViewportFrame.cpp:439]
        nsHTMLReflowCommand::Dispatch(nsIPresContext&,nsHTMLReflowMetrics&,const
nsSize&,nsIRenderingContext&) [nsHTMLReflowCommand.cpp:165]
        PresShell::ProcessReflowCommands() [nsPresShell.cpp:1177]
        PresShell::ExitReflowLock() [nsPresShell.cpp:622]
        PresShell::ContentChanged(nsIDocument*,nsIContent*,nsISupports*)
[nsPresShell.cpp:1549]
        XULDocumentImpl::ContentChanged(nsIContent*,nsISupports*)
[nsXULDocument.cpp:1346]
        TitledUpdateImageFrame(nsIPresContext&,nsIFrame*,int)
[nsTitledButtonFrame.cpp:139]

nsFrameImageLoader::Notify(nsIImageRequest*,nsIImage*,nsImageNotification,int,in
t,void*) [nsFrameImageLoader.cpp:212]
        ns_observer_proc(void*,long,void*,void*) [nsImageRequest.cpp:251]
        XP_NotifyObservers [obs.c:259]
        il_dimensions_notify(il_container_struct*,int,int) [if.cpp:110]
        il_size(il_container_struct*) [if.cpp:596]
        il_gif_write(il_container_struct*,const unsigned char*,int)
[gif.cpp:1273]
        IL_StreamWrite(il_container_struct*,const unsigned char*,int)
[if.cpp:809]
        NetReaderImpl::Write(const unsigned char*,int) [ilNetReader.cpp:92]
        ImageConsumer::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsImageNetContextAsync.cpp:233]
        nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:1694]
        stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:647]
        net_read_file_chunk [mkfile.c:956]
  * Block of 96 bytes (14 times); last block at 0x70da30
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
i checked in a fix for this.  bruce, please verify.
Status: RESOLVED → VERIFIED
Moving all Widget Set bugs, past and present, to new HTML Form Controls
component per request from karnaze.  Widget Set component will be retired
shortly.
You need to log in before you can comment on or make changes to this bug.