msxml3: Properly free namespace structure pointer.
This commit is contained in:
parent
1f8225c99d
commit
ea9a6a4b4e
|
@ -262,7 +262,7 @@ static HRESULT WINAPI xmlelem_getAttribute(IXMLElement *iface, BSTR name,
|
|||
xmlNsPtr ns;
|
||||
ns = xmlSearchNs(This->node->doc, This->node, (xmlChar*)"xml");
|
||||
val = xmlGetNsProp(This->node, (xmlChar*)"lang", ns->href);
|
||||
xmlFree(ns);
|
||||
xmlFreeNs(ns);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue