mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
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
Block a user