Commit 072b2db2 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: No need to zero memory on allocation.

parent c26c5599
...@@ -605,7 +605,7 @@ static void query_serror(void* ctx, xmlErrorPtr err) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment