Fixing mismatched addref/release pair

This commit is contained in:
av%netscape.com 2000-04-26 21:47:45 +00:00
Родитель d259e8db92
Коммит f665eca50b
2 изменённых файлов: 2 добавлений и 0 удалений

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

@ -325,6 +325,7 @@ nsObjectFrame::Destroy(nsIPresContext* aPresContext)
{
inst->SetWindow(nsnull);
inst->Stop();
NS_RELEASE(inst);
}
}
return nsObjectFrameSuper::Destroy(aPresContext);

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

@ -325,6 +325,7 @@ nsObjectFrame::Destroy(nsIPresContext* aPresContext)
{
inst->SetWindow(nsnull);
inst->Stop();
NS_RELEASE(inst);
}
}
return nsObjectFrameSuper::Destroy(aPresContext);