msxml: Fix a memory leak.
This commit is contained in:
parent
597a77f7d6
commit
73e2ff5901
|
@ -356,6 +356,9 @@ static HRESULT WINAPI xmlelem_put_text(IXMLElement *iface, BSTR p)
|
|||
|
||||
content = xmlChar_from_wchar(p);
|
||||
xmlNodeSetContent(This->node, content);
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, content);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue