Nikolay Sivov : msxml3: No need to zero memory on allocation.
Alexandre Julliard
julliard at winehq.org
Mon Mar 14 14:29:34 CDT 2011
Module: wine
Branch: master
Commit: 072b2db2afa2b5c87bac496d325072c6a5c68cab
URL: http://source.winehq.org/git/wine.git/?a=commit;h=072b2db2afa2b5c87bac496d325072c6a5c68cab
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun Mar 13 03:00:54 2011 +0300
msxml3: No need to zero memory on allocation.
---
dlls/msxml3/selection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/selection.c b/dlls/msxml3/selection.c
index 2a46e1d..97165fa 100644
--- a/dlls/msxml3/selection.c
+++ b/dlls/msxml3/selection.c
@@ -605,7 +605,7 @@ static void query_serror(void* ctx, xmlErrorPtr err)
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);
HRESULT hr;
More information about the wine-cvs
mailing list