msxml3: No need to zero memory on allocation.
This commit is contained in:
parent
c26c55995a
commit
072b2db2af
|
@ -605,7 +605,7 @@ static void query_serror(void* ctx, xmlErrorPtr err)
|
||||||
|
|
||||||
HRESULT create_selection(xmlNodePtr node, xmlChar* query, IXMLDOMNodeList **out)
|
HRESULT create_selection(xmlNodePtr node, xmlChar* query, IXMLDOMNodeList **out)
|
||||||
{
|
{
|
||||||
domselection *This = heap_alloc_zero(sizeof(domselection));
|
domselection *This = heap_alloc(sizeof(domselection));
|
||||||
xmlXPathContextPtr ctxt = xmlXPathNewContext(node->doc);
|
xmlXPathContextPtr ctxt = xmlXPathNewContext(node->doc);
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue