Bug 232642 [ActiveX] crash if access twice the same html element

patch by atremon@elansoftware.com r=adamlock sr=jst a=chofmann
This commit is contained in:
timeless%mozdev.org 2004-02-17 16:07:36 +00:00
parent 962663d3d9
commit 01040a802f

View File

@ -101,7 +101,7 @@ HRESULT CIEHtmlNode::SetDOMNode(nsIDOMNode *pIDOMNode)
{
if (g_NodeLookupTable == NULL)
{
g_NodeLookupTable = PL_NewHashTable(123, HashFunction, HashComparator, NULL, NULL, NULL);
g_NodeLookupTable = PL_NewHashTable(123, HashFunction, HashComparator, HashComparator, NULL, NULL);
}
mDOMNode = pIDOMNode;