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)
Tracking
()
VERIFIED
FIXED
M11
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
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•25 years ago
|
||
I just now fixed it.
Status: RESOLVED → VERIFIED
Component: Browser-General → History
QA Contact: leger → claudius
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.
Description
•