msxml3: Properly free namespace structure pointer.

This commit is contained in:
Nikolay Sivov 2010-06-21 22:06:29 +04:00 committed by Alexandre Julliard
parent 1f8225c99d
commit ea9a6a4b4e

View File

@ -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
{