From cb144109ec1d7f69ed0f1d7e3be109768fcf37f1 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Tue, 17 Feb 2004 16:07:36 +0000 Subject: [PATCH] Bug 232642 [ActiveX] crash if access twice the same html element patch by atremon@elansoftware.com r=adamlock sr=jst a=chofmann --- embedding/browser/activex/src/common/IEHtmlNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedding/browser/activex/src/common/IEHtmlNode.cpp b/embedding/browser/activex/src/common/IEHtmlNode.cpp index 75ca94ef180..14e34ec0e1d 100644 --- a/embedding/browser/activex/src/common/IEHtmlNode.cpp +++ b/embedding/browser/activex/src/common/IEHtmlNode.cpp @@ -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;