Closed Bug 13735 Opened 25 years ago Closed 25 years ago

MLK:924 bytes nsHTMLValue::nsHTMLValue()

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

VERIFIED DUPLICATE of bug 15377

People

(Reporter: bruce, Assigned: buster)

References

Details

(Whiteboard: waiting for bruce to confirm my fix...)

Solaris 2.6, gcc 2.7.2.3.  Build from September 13, 1999.  Opened viewer, loaded
initial page, went to www.visa.com, selected the 'back to school' specials link,
quit.

MLK: 924 bytes leaked in 33 blocks
  * This memory was allocated from:
        malloc         [rtlib.o]
        __bUiLtIn_nEw  [libraptorgfx.so]
        __builtin_new  [rtlib.o]
        nsString::ToNewString()const [nsString2.cpp:558]
        nsHTMLValue::nsHTMLValue(const nsString&,nsHTMLUnit)
[nsHTMLValue.cpp:66]
        HTMLAttribute::HTMLAttribute(nsIAtom*,const nsString&)
[nsHTMLAttributes.cpp:44]
        HTMLAttributesImpl::SetAttributeFor(nsIAtom*,const
nsString&,int,nsIHTMLContent*,nsIHTMLStyleSheet*) [nsHTMLAttributes.cpp:1165]
        HTMLStyleSheetImpl::SetAttributeFor(nsIAtom*,const
nsString&,int,nsIHTMLContent*,nsIHTMLAttributes*&) [nsHTMLStyleSheet.cpp:1045]
        nsGenericHTMLElement::SetAttribute(int,nsIAtom*,const nsString&,int)
[nsGenericHTMLElement.cpp:737]
        nsHTMLImageElement::SetAttribute(int,nsIAtom*,const nsString&,int)
[nsHTMLImageElement.cpp:113]
        AddAttributes(const
nsIParserNode&,nsIHTMLContent*,nsIScriptContextOwner*,int)
[nsHTMLContentSink.cpp:507]
        SinkContext::AddLeaf(const nsIParserNode&) [nsHTMLContentSink.cpp:1313]
        HTMLContentSink::AddLeaf(const nsIParserNode&)
[nsHTMLContentSink.cpp:2235]
        CNavDTD::AddLeaf(const nsIParserNode&) [CNavDTD.cpp:2675]
        CNavDTD::HandleDefaultStartToken(CToken*,nsHTMLTag,nsIParserNode&)
[CNavDTD.cpp:1056]
        CNavDTD::HandleStartToken(CToken*) [CNavDTD.cpp:1299]
        NavDispatchTokenHandler(CToken*,nsIDTD*) [CNavDTD.cpp:241]
        CTokenHandler::operator ()(CToken*,nsIDTD*) [nsTokenHandler.cpp:80]
        CNavDTD::HandleToken(CToken*,nsIParser*) [CNavDTD.cpp:740]

CNavDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContentSink*)
[CNavDTD.cpp:551]
        nsParser::BuildModel() [nsParser.cpp:942]
        nsParser::ResumeParse(nsIDTD*,int) [nsParser.cpp:887]

nsParser::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsParser.cpp:1288]

nsDocumentBindInfo::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsDocLoader.cpp:2000]

nsChannelListener::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsDocLoader.cpp:2272]

nsHTTPResponseListener::OnDataAvailable(nsIChannel*,nsISupports*,nsIInputStream*,unsigned
int,unsigned int) [nsHTTPResponseListener.cpp:186]
        nsOnDataAvailableEvent::HandleEvent() [nsAsyncStreamListener.cpp:344]
        nsStreamListenerEvent::HandlePLEvent(PLEvent*)
[nsAsyncStreamListener.cpp:144]
        PL_HandleEvent [plevent.c:509]
        PL_ProcessPendingEvents [plevent.c:470]
  * Block of 28 bytes (33 times); last block at 0xbdabb8
Assignee: troy → kipp
Severity: normal → critical
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M11
*** Bug 13741 has been marked as a duplicate of this bug. ***
Whiteboard: waiting for bruce to confirm my fix...
Summary: MLK: nsHTMLValue::nsHTMLValue() → MLK:924 bytes nsHTMLValue::nsHTMLValue()
Blocks: 14516
We have a master memory leak bug to now hold all such problems (that don't
really require a breakout). An open known bug (assigned to the editor folks)
invovles leaking various and sundry objects on pages that have text form
elements on them, of which this one is caused by. So I'm closing this bug out.


*** This bug has been marked as a duplicate of 15377 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Based on kipp's comments, marking as verified duplicate of 15377.
You need to log in before you can comment on or make changes to this bug.