Fix crasher bug 202439 by properly refcounting the transferable hook list. r=brade, sr=bz/me.

This commit is contained in:
sfraser@netscape.com
2003-04-18 02:03:44 +00:00
parent 558db8e5d5
commit 6bbb43bd88
2 changed files with 9 additions and 21 deletions

View File

@@ -362,7 +362,7 @@ protected:
nsDocShellEditorData* mEditorData; // editor data, if any
// Transferable hooks/callbacks
nsTransferableHookData* mTransferableHookData;
nsCOMPtr<nsIClipboardDragDropHookList> mTransferableHookData;
// WEAK REFERENCES BELOW HERE.
// Note these are intentionally not addrefd. Doing so will create a cycle.