Closed Bug 14432 Opened 25 years ago Closed 25 years ago

Session History does not refcount the webshell correctly.

Categories

(Core :: DOM: Navigation, defect, P1)

All
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rpotts, Assigned: radha)

Details

hey radha, It looks like the refcountinf of the mWS variable in the nsHistoryEntry structure is not reference counted correctly... It is not AddRef'ed when it is assigned, but it is Release'ed in the destructor. Also, when nsHistoryEntry::GetWebShell(...) is called, the returned WebShell is not released. So, if you keep clicking on a link and hitting the back button, you will eventually crash when the WebShell is unexpectedly released :-( -- rick
Priority: P3 → P1
Target Milestone: M11
Hmmm ... this would be bad.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I just now fixed it.
Status: RESOLVED → VERIFIED
Component: Browser-General → History
QA Contact: leger → claudius
Updating QA Contact for a verification.
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.