msxml3: Fix memory leak.
This commit is contained in:
parent
8788cca0ef
commit
2ad4f102f7
@ -340,6 +340,8 @@ static HRESULT WINAPI xmlelem_get_text(IXMLElement *iface, BSTR *p)
|
||||
content = xmlNodeGetContent(This->node);
|
||||
*p = bstr_from_xmlChar(content);
|
||||
TRACE("returning %s\n", debugstr_w(*p));
|
||||
|
||||
xmlFree(content);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user