msxml3: Fix memory leak.

This commit is contained in:
Alistair Leslie-Hughes 2007-11-07 12:39:11 +11:00 committed by Alexandre Julliard
parent 8788cca0ef
commit 2ad4f102f7

View File

@ -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;
}