mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
8dc3eec4c8
If the Init() routine happens to perform a balanced AddRef/Release, the instance will be prematurely destroyed when Release() is called. The change is to do the AddRef() before calling the initialization routine to stabilize the instance's ref-count. r: dp, putterman |
||
---|---|---|
.. | ||
nsComponentManagerUtils.h | ||
nsCOMPtr.cpp | ||
nsCOMPtr.h | ||
nsDebug.cpp | ||
nsDebug.h | ||
nsGenericFactory.cpp | ||
nsGenericFactory.h | ||
nsID.cpp | ||
nsID.h | ||
nsIGenericFactory.h | ||
nsISupportsUtils.h | ||
nsQuickSort.cpp | ||
nsQuickSort.h | ||
nsVoidArray.cpp | ||
nsVoidArray.h | ||
nsWeakReference.cpp | ||
nsWeakReference.h |