Fix crash bugs: failure to initialize m_reg member.

This commit is contained in:
waterson%netscape.com 1999-05-19 07:02:07 +00:00
Родитель 1204c7255b
Коммит 765ce49b40
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -121,7 +121,9 @@ static PRInt32 g_LockCount = 0;
* Constructor/Destructor
*/
nsProfile::nsProfile() {
nsProfile::nsProfile()
: m_reg(nsnull)
{
PR_AtomicIncrement(&g_InstanceCount);
NS_INIT_REFCNT();
}