[PATCH] Dont free the Content buffer on error since xmlTextConcat takes ownership of it
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Mar 26 22:37:04 CDT 2008
---
dlls/msxml3/text.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/msxml3/text.c b/dlls/msxml3/text.c
index 52163a2..4b32ac9 100644
--- a/dlls/msxml3/text.c
+++ b/dlls/msxml3/text.c
@@ -603,10 +603,7 @@ static HRESULT WINAPI domtext_appendData(
if(xmlTextConcat(pDOMNode->node, pContent, SysStringLen(p) ) == 0)
hr = S_OK;
else
- {
hr = E_FAIL;
- xmlFree(pContent);
- }
}
else
hr = E_FAIL;
--
1.5.4.1
--------------050807000807010509010902--
More information about the wine-patches
mailing list